workitem.h

来自「WinCE 3.0 BSP, 包含Inter SA1110, Intel_815」· C头文件 代码 · 共 24 行

H
24
字号
#ifndef __WORKITEM_H__
#define __WORKITEM_H__
/*
The BUGBUG and WORKITEM macros allow you to enter a #pragma message
that will be displayed (with line numbers) during any build process.  

Typical USAGE:

#pragma message (BUGBUG "This will fault if the lParam is greater than 100")

    - would output the following during the build process:

filename.cpp (349) warning BUGBUG - This will fault if the lParam is greater than 100    
*/

#define __BUGBUG(n) __FILE__ "(" #n ") : BUGBUG - " 
#define _BUGBUG(n) __BUGBUG(n) 
#define BUGBUG _BUGBUG(__LINE__)

#define __WORKITEM(n) __FILE__ "(" #n ") : WORKITEM - " 
#define _WORKITEM(n) __WORKITEM(n)
#define WORKITEM _WORKITEM(__LINE__)

#endif // __WORKITEM_H__

⌨️ 快捷键说明

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