csnip  0.1
Macros
Preprocessor macros

Preprocessor macros. More...

Macros

#define csnip_pp_prepend_args(...)   __VA_ARGS__,
 Prepend argument list to another.
 
#define csnip_pp_append_args(...)   ,__VA_ARGS__
 Append argument list to another.
 
#define csnip_pp_list_args(...)   __VA_ARGS__
 List arguments.
 
#define csnip_pp_prepend_noargs()
 Prepend an empty list to another list.
 
#define csnip_pp_append_noargs()
 Append an empty list to another list.
 
#define csnip_pp_list_noargs()   void
 List an empty argument list.
 
#define csnip_pp_cat(a, b)   csnip_pp__cat(a, b)
 Concatenate two tokens after macro substitution. More...
 

Detailed Description

A number of somewhat tricky preprocessor macros.

Macro Definition Documentation

◆ csnip_pp_cat

#define csnip_pp_cat (   a,
 
)    csnip_pp__cat(a, b)

This macro concatenates a and b, first substituting them as macros if applicable.