使用define定义命名空间

使用define定义命名空间 #include <stdio.h> #define MSG(sym) msg_ ## sym //提供命名空间 struct MSG(BoardConfiguration){ int num; const char *name; }; struct MSG(HostConfiguration){ int num; const
相关文章
相关标签/搜索