preprocessor: add the empty, defer, obstruct, and expand macros
This commit is contained in:
parent
0bb092b92f
commit
04c5470a59
@ -161,6 +161,10 @@ if __name__ == '__main__':
|
||||
// Pair token concatenation, transforming into a namespace and type.
|
||||
#define NAMESPACE_LIST(NS,KLASS) NS::KLASS,
|
||||
|
||||
#define EMPTY()
|
||||
#define DEFER(X) X EMPTY()
|
||||
#define OBSTRUCT(...) __VA_ARGS__ DEFER(EMPTY)()
|
||||
#define EXPAND(...) __VA_ARGS__
|
||||
|
||||
#define APPEND_COMMA(X) X,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user