宏的第一部分将约束列表分割成多个单一约束。
The first section of the macro breaks down the list of constraints case into multiple single constraints cases.
这通常通过list_head宏来完成,这个宏提供列表的声明和初始化。
This is commonly done with the LIST_HEAD macro, which provides the declaration and initialization of the list.
也可以通过使用LIST_HEAD_INIT宏手动创建一个列表头(例如,您的列表头位于另一个结构中)。
You can also create a list head manually (for example, if your list head is in another structure) through the use of the LIST_HEAD_INIT macro.
显示如何创建一个宏,用以生成一个列表,其中列出集成开发环境(IDE)中的所有命令以及这些命令当前关联的键盘快捷键。
Shows how to create a macro that generates a list of the commands in the integrated development environment (IDE), together with the currently associated keyboard shortcuts.
显示如何创建一个宏,用以生成一个列表,其中列出集成开发环境(IDE)中的所有命令以及这些命令当前关联的键盘快捷键。
Shows how to create a macro that generates a list of the commands in the integrated development environment (IDE), together with the currently associated keyboard shortcuts.
应用推荐