Add JOIN for simple append

This commit is contained in:
Scott Lahteine
2019-10-03 18:48:31 -05:00
parent 51ae13fc8c
commit 9188ce1a8d
4 changed files with 19 additions and 24 deletions

View File

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