cortex.h

来自「MANTIS是由科罗拉多大学开发的传感器网络嵌入式操作系统。 这是mantis」· C头文件 代码 · 共 50 行

H
50
字号
//  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 + =
减小字号Ctrl + -
显示快捷键?