⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cortex.h

📁 MANTIS是由科罗拉多大学开发的传感器网络嵌入式操作系统。 这是mantis的0.9.5版本的源码。
💻 H
字号:
//  This file is part of MANTIS OS, Operating System//  See http://mantis.cs.colorado.edu/////  Copyright (C) 2003-2005 University of Colorado, Boulder////  This program is free software; you can redistribute it and/or//  modify it under the terms of the mos license (see file LICENSE)/**************************************************************************//*   File: cortex.h                                                       *//* Author: Jeff Rose   :     rosejn@colorado.edu                          *//*   Date: 03/17/04                                                       *//*                                                                        *//* The primary header for the whole cortex framework.                     *//**************************************************************************/#ifndef _CORTEX_H_#define _CORTEX_H_#include <inttypes.h>#include <glib/gprintf.h>#include <string.h>#include <stdbool.h>/* The filename and root node of the glade interface data.*/#define GLADE_FILE "glade/cortex.glade"#define FN __FUNCTION__#define LN __LINE__#define FL __FILE__ /* simple debug output */#define DEBUG#ifdef DEBUG//#define debug(msg,args...) g_printerr("[%s]:%s(%d): \"", FL, FN, LN);#define STRIP_SLASHES(msg) strrchr(msg, '/') + 1#define debug(msg,args...) do {				\   printf("[%s:%d]%s(): '", STRIP_SLASHES(FL), LN, FN); \   printf(msg, ## args);				\   printf("'\n");					\  } while(0)#else#define debug(msg,args...)#endif#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -