2
3
4
5
6
7
8
10#ifndef GIMBAL_MACRO_SEQUENCES_H
11#define GIMBAL_MACRO_SEQUENCES_H
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
41#define GBL_EVAL0(...) __VA_ARGS__
48#define GBL_MAP_END(...)
50#define GBL_MAP_COMMA ,
55#define GBL_MAP_NEXT0(test, next, ...) next GBL_MAP_OUT
63
64
69
70
71
#define GBL_MAP_TUPLES0(f, x, peek,...)
#define GBL_MAP_LIST0(f, x, peek,...)
#define GBL_MAP1(f, x, peek,...)
#define GBL_MAP_GET_END2()
#define GBL_MAP_GET_END1(...)
#define GBL_MAP0(f, x, peek,...)
#define GBL_MAP_LIST_NEXT1(test, next)
Applies the function macro f to each of the remaining parameters and inserts commas between the resul...
#define GBL_MAP_GET_END(...)
#define GBL_MAP_NEXT(test, next)
#define GBL_MAP_TUPLES1(f, x, peek,...)
#define GBL_MAP_NEXT0(test, next,...)
#define GBL_MAP_LIST_NEXT(test, next)
#define GBL_MAP_LIST1(f, x, peek,...)
#define GBL_MAP_NEXT1(test, next)