P99
|
◆ P99_INSTANTIATE
Instantiate an inline function. For functions that are declared inline in C99, the compiler doesn't generate an external symbol unless explicitly told to. But often you will need such an external symbol, e.g if you switch on debugging or if you pass a function pointer as a callback to another function. The syntax for this feature is a bit crude and not all compilers agree upon the interpretation. Therefore we provide a wrapper that does just this. Put such a call to P99_INSTANTIATE in exactly one .c file (compilation unit) of you liking. The external symbol will then be generated there.
Definition at line 241 of file p99_defarg.h. |