preprocessor: add convenience APPEND_COMMA macro

This commit is contained in:
Danny Robson 2018-11-13 15:19:53 +11:00
parent b1d44b1872
commit a948b3d682

View File

@ -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),