P99
Macros
p99_defarg.h File Reference

Macros for default arguments to functions. More...

#include "p99_map.h"
#include <P99_ADVANCE_ID>
+ Include dependency graph for p99_defarg.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define P99_CALL_DEFARG(NAME, M, ...)   NAME(__VA_ARGS__)
 Define a replacement macro for functions that can provide default arguments to the underlying real function. More...
 
#define P99_CALL_DEFARG_LIST(NAME, M, ...)   __VA_ARGS__
 Expand an argument list with default arguments. More...
 
#define P99_CALL_VA_ARG(NAME, M, T, ...)   NAME(__VA_ARGS__)
 Assure type safety for variadic functions. More...
 
#define P99_DECLARE_DEFARG(NAME, ...)
 Provide default arguments for macro NAME. More...
 
#define P99_DEFARG_DOCU(NAME)
 Provide a documentation section to a function defined with P99_CALL_DEFARG. More...
 
#define P99_DEFINE_DEFARG(NAME, ...)
 Define the symbols that are declared through a corresponding call P99_DECLARE_DEFARG. More...
 
#define P99_INSTANTIATE(RT, NAME, ...)   RT NAME(__VA_ARGS__)
 Instantiate an inline function. More...
 
#define P99_PROTOTYPE(...)
 Define the prototype of function NAME. More...
 

Detailed Description

Macros for default arguments to functions.

See also
Default arguments and types for functions

Definition in file p99_defarg.h.

pthread_mutex_init
#define pthread_mutex_init(...)
Default arguments for POSIX function pthread_mutex_init.
Definition: p99_posix_default.h:58
P99_PROTOTYPE
#define P99_PROTOTYPE(...)
Define the prototype of function NAME.
Definition: p99_defarg.h:197