in reply to Re^4: XS malloc and free (whose)
in thread XS malloc and free
That maybe a solution, but not through the preprocessor (code yet untested)
link with this and call crt_free() instead of free().// private external C library with one function #include <stdlib.h> void crt_free(void*p) { free(p); }
And it came to pass that in time the Great God Om spake unto Brutha, the Chosen One: "Psst!"
(Terry Pratchett, Small Gods)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: XS malloc and free (whose)
by BrowserUk (Patriarch) on Feb 08, 2006 at 08:08 UTC |