Add JOIN for simple append
This commit is contained in:
1 parent
51ae13fc8c
commit
9188ce1a8d
4 files changed
+19
-24
No files matched your search
@@ -227,6 +227,9 @@
|
||||
#define LIST_N(N,V...) _LIST_N(N,V)
|
||||
#define ARRAY_N(N,V...) { _LIST_N(N,V) }
|
||||
|
||||
#define _JOIN_1(O) (O)
|
||||
#define JOIN_N(N,C,V...) (DO(JOIN,C,LIST_N(N,V)))
|
||||
|
||||
// Macros for adding
|
||||
#define INC_0 1
|
||||
#define INC_1 2
|
||||
|
||||
Reference in new issue
Block a user