On top of these register #define macros, you should also define another macro that dictates whether the ISR will run in simulation mode or in the original interrupt context. For example
在这些寄存器的 #define宏前面,还应该定义另外一个宏,它用来说明 ISR 是在模拟模式中运行还是在原来的中断上下文中运行的。
Define a database variable initially within the macro to tell it which database to connect to.
在宏内开头定义DATABASE变量告诉它要连接到哪一个数据库。
We also define a macro INBUFSIZ, which is the size of a character array used as a buffer while reading the input.
我们还定义了宏inbufsiz,它是在读取输入时用作缓冲区的字符数组的大小。
Listing 7 shows the macro definition to define math symbols using these functions.
清单7给出的宏定义使用这些函数定义了算术符号。
Because the entry and exit functions are user-defined, a module_init and module_exit macro exist to define which functions these are.
因为entry和exit函数是用户定义的,所以存在module_init和module_exit宏,用于定义这些函数属于哪种函数。
We then use the def macro to define a constant called big-num-str.
之后,使用def宏来定义一个常量,称为big - num - str。
In a syntax-rules macro, define-syntax is the keyword used to define a macro transformation.
在syntax - rules宏中,define - syntax是用来定义宏转换的关键字。
It is, however, recommended that you define the macro on the command-line, so you are absolutely certain that all headers are compiled the same way.
不过,建议你在命令行定义这个宏,这样你可以确保所有头文件以相同方式编译。
The macro components define the overall flow and time-sequenced framework for performing work.
宏观成份规定了实行工作的整个流程和时序框架。
If you do not define this macro, the usual case, GCC will output the constant pool before the function.
如果没有定义这个宏,在通常情况下,GCC会在函数之前输出。
If you do not define this macro, the default is that only the character '; 'is treated as a logical line separator.
如果不定义这个宏,则默认只有‘;’可以作为逻辑行分隔符。
The DISP_FUNCTION macro is used in a dispatch map to define an OLE automation function.
这是一个宏,用于调度映射中定义一个OLE自动化函数。
If you don't define this macro, that is equivalent to defining it to do nothing.
如果没有定义该宏,则相当于定义其什么都不做。
If you don't define this macro, that is equivalent to defining it to do nothing.
如果没有定义该宏,则相当于定义其什么都不做。
应用推荐