P99
Macros
p99_hook.h File Reference

Compiler specific hook functions to execute at load/unload time. More...

#include "p99_compiler.h"
#include "p99_if.h"
#include "p99_list.h"
+ Include dependency graph for p99_hook.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define P99_AT_LOAD_DEFINE   P99_AT_LOAD_DECLARE
 
#define P99_AT_UNLOAD_DEFINE   P99_AT_UNLOAD_DECLARE
 

Detailed Description

Compiler specific hook functions to execute at load/unload time.

P99_AT_LOAD functions are executed before main() for the main program and when loading for dynamic libraries. P99_AT_UNLOAD functions are executed before exiting for the main program and when unloading for dynamic libraries

Definition in file p99_hook.h.