- library initialization done at a central point (library.c)

- some leak_detective fixes
This commit is contained in:
Martin Willi
2006-04-20 11:48:57 +00:00
parent 14abc909e0
commit 6b3292da85
7 changed files with 271 additions and 146 deletions
+12
View File
@@ -30,8 +30,20 @@
*/
#define STACK_FRAMES_COUNT 30
/**
* Initialize leak detective, activates it
*/
void leak_detective_init();
/**
* Cleanup leak detective, deactivates it
*/
void leak_detective_cleanup();
#else /* !LEAK_DETECTIVE */
#define leak_detective_init() {}
#define leak_detective_cleanup() {}
#endif /* LEAK_DETECTIVE */