NAME
ttypt/xy-pp.h - Preprocessor plumbing for the xy macro API.
SYNOPSIS
Macros
Concatenate a with the remaining arguments after expansion.
Concatenate two token lists without further expansion.
Count the number of (type, name) argument pairs passed.
Count arguments via the PP_ARG_N token ladder.
Token ladder mapping the argument count to N.
Reverse sequence of paired counts consumed by PP_ARG_N.
Expand (type, name) pairs into comma-joined type-name declarations.
Expand (type, name) pairs into semicolon-terminated declarations.
Expand (a, b) pairs to __xy_a->b, comma-joined.
Expand pairs to their second element (name only), comma-joined.
Stringize a token without macro expansion.
Stringize a token after macro expansion.
Detailed Description
Preprocessor plumbing for the xy macro API.
Argument counting, concatenation and expansion helpers used by the XY_DEF / XY_DECL / XY_IMPL macro families.
Macro Definition Documentation
#define XY_DA( ...)
Value:
CAT(XY_DA_, \
XY_PC(__VA_ARGS__))( __VA_ARGS__)
Expand pairs to their second element (name only), comma-joined.
Attention
Internal plumbing for the XY macro families.
#define XY_FA( ...)
Value:
CAT(XY_FA_, \
XY_PC(__VA_ARGS__))( __VA_ARGS__)
Expand (type, name) pairs into comma-joined type-name declarations.
Attention
Internal plumbing for the XY macro families.
#define XY_NP( ...)
Value:
CAT(XY_NP_, \
XY_PC(__VA_ARGS__))( __VA_ARGS__)
Expand (a, b) pairs to __xy_a->b, comma-joined.
Attention
Internal plumbing for the XY macro families.
#define XY_PG( ...)
Value:
CAT(XY_PG_, \
XY_PC(__VA_ARGS__))( __VA_ARGS__)
Expand (type, name) pairs into semicolon-terminated declarations.
Attention
Internal plumbing for the XY macro families.
Author
Generated automatically by Doxygen for libxylem from the source code.