preprocessor: add convenience APPEND_COMMA macro
This commit is contained in:
parent
b1d44b1872
commit
a948b3d682
@ -162,6 +162,9 @@ if __name__ == '__main__':
|
||||
#define NAMESPACE_LIST(NS,KLASS) NS::KLASS,
|
||||
|
||||
|
||||
#define APPEND_COMMA(X) X,
|
||||
|
||||
|
||||
#define STRINGIZE_DETAIL(x) #x
|
||||
#define STRINGIZE(x) STRINGIZE_DETAIL(x)
|
||||
#define STRINGIZE_LIST(x) STRINGIZE(x),
|
||||
|
Loading…
Reference in New Issue
Block a user