P99
Modules | Macros
+ Collaboration diagram for Generic identification of families of types or values:

Modules

 Generic macros that classify expressions
 

Macros

#define P99_DECLARE_INLINE_EXPRESSION(EXT, BASE, EXP, ...)
 Declare an inline function of basename BASE for expression EXP, applied to the builtin type EXT. More...
 
#define P99_DECLARE_INLINE_EXPRESSIONS(NEPL, ...)
 Declare a whole bunch of inline functions of basename BASE for expression EXP, applied to the builtin types as given in the argument list. More...
 
#define P99_GEN_ABS(A)   P99_GEN_EXPR(abs, ((A) >= 0) ? (A) : -(A), P99_STD_REAL_EXTS)(A)
 
#define P99_GEN_EXPR(BASE, EXPR, ...)
 Produce a type generic expression that can be used as if it were an inline function. More...
 
#define P99_GEN_MAX(A, B)
 
#define P99_GEN_MIN(A, B)
 
#define P99_GEN_SIN(A)   P99_GEN_EXPR(sin, (A), P99_STD_FLOATING_EXTS)(A)
 Type generic macro to compute the sine of A. More...
 
#define P99_SIZE_CHOICE(UI, YES, NO, ...)
 Classify expression UI according to its value and return YES if the value is in the list and NO, otherwise. More...
 
#define P99_SIZE_INDICATOR(UI, ...)
 Classify expression UI according to its value and return 1 if the value is in the list and 0, otherwise. More...
 
#define P99_TYPE_CHOICE(EXP, YES, NO, ...)
 Classify expression EXP according to its type and return YES if the type is in the list and NO, otherwise. More...
 

Detailed Description

P99_SIZE_INDICATOR
#define P99_SIZE_INDICATOR(UI,...)
Classify expression UI according to its value and return 1 if the value is in the list and 0,...
Definition: p99_generic.h:856
f
f
Definition: p99_str.h:138
ld
ld
Definition: p99_str.h:138
P99_DECLARE_INLINE_EXPRESSION
#define P99_DECLARE_INLINE_EXPRESSION(EXT, BASE, EXP,...)
Declare an inline function of basename BASE for expression EXP, applied to the builtin type EXT.
Definition: p99_generic.h:890
P99_GEN_EXPR
#define P99_GEN_EXPR(BASE, EXPR,...)
Produce a type generic expression that can be used as if it were an inline function.
Definition: p99_generic.h:1000
P99_GEN_MAX
#define P99_GEN_MAX(A, B)
Definition: p99_generic.h:1002
P99_DECLARE_INLINE_EXPRESSIONS
#define P99_DECLARE_INLINE_EXPRESSIONS(NEPL,...)
Declare a whole bunch of inline functions of basename BASE for expression EXP, applied to the builtin...
Definition: p99_generic.h:926
d
d
Definition: p99_str.h:138
i
P00_CLAUSE2 i(_Pragma("weak p00_getopt_comp"))(_Pragma("weak p00_getopt_comp
P99_STD_REAL_EXTS
#define P99_STD_REAL_EXTS
Definition: p99_type.h:294