pcb 4.1.1
An interactive printed circuit board layout editor.

free_atexit.h

Go to the documentation of this file.
00001 
00015 #include <stdlib.h>
00016 
00017 #ifdef NDEBUG
00018 #define leaky_init()
00019 #define leaky_uninit()
00020 #define leaky_malloc(size) malloc(size)
00021 #define leaky_calloc(nmemb, size) calloc(nmemb, size)
00022 #define leaky_realloc(old_memory, size) realloc(old_memory, size)
00023 #define leaky_strdup(str) strdup(str)
00024 #else
00025 
00026 void leaky_init (void);
00027 void leaky_uninit (void);
00028 void *leaky_malloc (size_t size);
00029 void *leaky_calloc (size_t nmemb, size_t size);
00030 void *leaky_realloc (void* old_memory, size_t size);
00031 char *leaky_strdup (const char *src);
00032 
00033 
00034 #endif