libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
Loading...
Searching...
No Matches
gimbal_macro_sequences.h File Reference

Go to the source code of this file.

Macros

#define GBL_EVAL0(...)
 
#define GBL_EVAL1(...)
 
#define GBL_EVAL2(...)
 
#define GBL_EVAL3(...)
 
#define GBL_EVAL4(...)
 
#define GBL_EVAL(...)
 
#define GBL_MAP_END(...)
 
#define GBL_MAP_OUT
 
#define GBL_MAP_COMMA
 
#define GBL_MAP_GET_END2()
 
#define GBL_MAP_GET_END1(...)
 
#define GBL_MAP_GET_END(...)
 
#define GBL_MAP_NEXT0(test, next, ...)
 
#define GBL_MAP_NEXT1(test, next)
 
#define GBL_MAP_NEXT(test, next)
 
#define GBL_MAP0(f, x, peek, ...)
 
#define GBL_MAP1(f, x, peek, ...)
 
#define GBL_MAP(f, ...)
 
#define GBL_MAP_LIST_NEXT1(test, next)
 
#define GBL_MAP_LIST_NEXT(test, next)
 
#define GBL_MAP_LIST0(f, x, peek, ...)
 
#define GBL_MAP_LIST1(f, x, peek, ...)
 
#define GBL_MAP_LIST(f, ...)
 
#define GBL_MAP_TUPLES0(f, x, peek, ...)
 
#define GBL_MAP_TUPLES1(f, x, peek, ...)
 
#define GBL_MAP_TUPLES(f, ...)
 

Detailed Description

Macro primitives for metaprogramming.

See also
gimbal_macro_composition.h
Author
William Swanson
Falco Girgis

Definition in file gimbal_macro_sequences.h.

Macro Definition Documentation

◆ GBL_EVAL0

#define GBL_EVAL0 (   ...)

Definition at line 41 of file gimbal_macro_sequences.h.

◆ GBL_EVAL1

#define GBL_EVAL1 (   ...)

Definition at line 42 of file gimbal_macro_sequences.h.

◆ GBL_EVAL2

#define GBL_EVAL2 (   ...)

Definition at line 43 of file gimbal_macro_sequences.h.

◆ GBL_EVAL3

#define GBL_EVAL3 (   ...)

Definition at line 44 of file gimbal_macro_sequences.h.

◆ GBL_EVAL4

#define GBL_EVAL4 (   ...)

Definition at line 45 of file gimbal_macro_sequences.h.

◆ GBL_EVAL

#define GBL_EVAL (   ...)

Definition at line 46 of file gimbal_macro_sequences.h.

◆ GBL_MAP_END

#define GBL_MAP_END (   ...)

Definition at line 48 of file gimbal_macro_sequences.h.

◆ GBL_MAP_OUT

#define GBL_MAP_OUT

Definition at line 49 of file gimbal_macro_sequences.h.

◆ GBL_MAP_COMMA

#define GBL_MAP_COMMA

Definition at line 50 of file gimbal_macro_sequences.h.

◆ GBL_MAP_GET_END2

#define GBL_MAP_GET_END2 ( )

Definition at line 52 of file gimbal_macro_sequences.h.

◆ GBL_MAP_GET_END1

#define GBL_MAP_GET_END1 (   ...)

Definition at line 53 of file gimbal_macro_sequences.h.

◆ GBL_MAP_GET_END

#define GBL_MAP_GET_END (   ...)

Definition at line 54 of file gimbal_macro_sequences.h.

◆ GBL_MAP_NEXT0

#define GBL_MAP_NEXT0 (   test,
  next,
  ... 
)

Definition at line 55 of file gimbal_macro_sequences.h.

◆ GBL_MAP_NEXT1

#define GBL_MAP_NEXT1 (   test,
  next 
)

Definition at line 56 of file gimbal_macro_sequences.h.

◆ GBL_MAP_NEXT

#define GBL_MAP_NEXT (   test,
  next 
)

Definition at line 57 of file gimbal_macro_sequences.h.

◆ GBL_MAP0

#define GBL_MAP0 (   f,
  x,
  peek,
  ... 
)

Definition at line 59 of file gimbal_macro_sequences.h.

◆ GBL_MAP1

#define GBL_MAP1 (   f,
  x,
  peek,
  ... 
)

Definition at line 60 of file gimbal_macro_sequences.h.

◆ GBL_MAP

#define GBL_MAP (   f,
  ... 
)

Applies the function macro f to each of the remaining parameters.

Definition at line 65 of file gimbal_macro_sequences.h.

◆ GBL_MAP_LIST_NEXT1

#define GBL_MAP_LIST_NEXT1 (   test,
  next 
)

Applies the function macro f to each of the remaining parameters and inserts commas between the results.

Definition at line 73 of file gimbal_macro_sequences.h.

◆ GBL_MAP_LIST_NEXT

#define GBL_MAP_LIST_NEXT (   test,
  next 
)

Definition at line 74 of file gimbal_macro_sequences.h.

◆ GBL_MAP_LIST0

#define GBL_MAP_LIST0 (   f,
  x,
  peek,
  ... 
)

Definition at line 76 of file gimbal_macro_sequences.h.

◆ GBL_MAP_LIST1

#define GBL_MAP_LIST1 (   f,
  x,
  peek,
  ... 
)

Definition at line 77 of file gimbal_macro_sequences.h.

◆ GBL_MAP_LIST

#define GBL_MAP_LIST (   f,
  ... 
)

Definition at line 78 of file gimbal_macro_sequences.h.

◆ GBL_MAP_TUPLES0

#define GBL_MAP_TUPLES0 (   f,
  x,
  peek,
  ... 
)

Definition at line 80 of file gimbal_macro_sequences.h.

◆ GBL_MAP_TUPLES1

#define GBL_MAP_TUPLES1 (   f,
  x,
  peek,
  ... 
)

Definition at line 81 of file gimbal_macro_sequences.h.

◆ GBL_MAP_TUPLES

#define GBL_MAP_TUPLES (   f,
  ... 
)

Definition at line 82 of file gimbal_macro_sequences.h.