P99
#define P99_DECLARE_DEFARG (   NAME,
  ... 
)

Provide default arguments for macro NAME.

Each element in the list must correspond to an expression that can be evaluated in the outer scope, just where this call is placed. In many cases this will be constant expressions such as 0, but they must not necessarily be so.

An empty argument, i.e nothing but an eventual comment, produces nothing. So no default argument will be provided for the corresponding position in the parameter list of NAME.

See also:
P99_PROTOTYPE on how to declare a prototype of a function NAME that can be used with this
P99_CALL_DEFARG on how to declare the macro NAME
rand48_t_init for a more sophisticated example with non-constant expressions.

Definition at line 270 of file p99_defarg.h.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines