mirror of
https://github.com/jkdansereau/goldeneye-pc-port.git
synced 2026-10-23 15:52:42 +02:00
Figure its time to update this again
This commit is contained in:
1 parent
76f3582e08
commit
3c9651a097
181 files changed
+29557
-81351
No files matched your search
+14
-14
@@ -579,22 +579,22 @@ HAS_ARGS(( ()))
|
||||
COUNTPARAMS((A, B, C, D, E, F,G,H,I))
|
||||
|
||||
#enAdif
|
||||
#define LIST_TO_TUPLE(list) \
|
||||
IF_ELSE(IS_PAREN(list))\
|
||||
(\
|
||||
EVAL16((LIST_TO_TUPLE_INNER(SECOND list, FIRST list)))\
|
||||
)\
|
||||
(\
|
||||
list\
|
||||
#define LIST_TO_TUPLE(list) \
|
||||
IF_ELSE(IS_PAREN(list))\
|
||||
(\
|
||||
EVAL16((LIST_TO_TUPLE_INNER(SECOND list, FIRST list)))\
|
||||
)\
|
||||
(\
|
||||
list\
|
||||
)
|
||||
|
||||
#define LIST_TO_TUPLE_INNER(list, listb) \
|
||||
IF_ELSE(HAS_ARGS(list)) \
|
||||
(\
|
||||
EXPAND(DEFER4(_LIST_TO_TUPLE_INNER)()(TRY_EXPAND((POP_ARG list)), PUSH_ARG(FIRST list, listb)))\
|
||||
)\
|
||||
(\
|
||||
0 listb\
|
||||
#define LIST_TO_TUPLE_INNER(list, listb) \
|
||||
IF_ELSE(HAS_ARGS(list)) \
|
||||
(\
|
||||
EXPAND(DEFER4(_LIST_TO_TUPLE_INNER)()(TRY_EXPAND((POP_ARG list)), PUSH_ARG(FIRST list, listb)))\
|
||||
)\
|
||||
(\
|
||||
0 listb\
|
||||
)
|
||||
#define _LIST_TO_TUPLE_INNER() LIST_TO_TUPLE_INNER
|
||||
// list to tuple
|
||||
|
||||
Reference in new issue
Block a user