From a948b3d68229dba826df30e7540bcaee9937e1f1 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Tue, 13 Nov 2018 15:19:53 +1100 Subject: [PATCH] preprocessor: add convenience APPEND_COMMA macro --- preprocessor.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/preprocessor.py b/preprocessor.py index e9af8a34..1e113000 100755 --- a/preprocessor.py +++ b/preprocessor.py @@ -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),