pike.git / src / dmalloc.h

version» Context lines:

pike.git/src/dmalloc.h:179:   #else /* DEBUG_MALLOC */      #ifdef USE_DL_MALLOC   PMOD_EXPORT void* dlmalloc(size_t);   PMOD_EXPORT void dlfree(void*);   PMOD_EXPORT void* dlcalloc(size_t, size_t);   PMOD_EXPORT void* dlrealloc(void*, size_t);   PMOD_EXPORT void* dlmemalign(size_t, size_t);   PMOD_EXPORT void* dlvalloc(size_t);   PMOD_EXPORT void* dlpvalloc(size_t); + PMOD_EXPORT struct mallinfo dlmallinfo(void);   #define malloc dlmalloc   #define free dlfree   #define calloc dlcalloc   #define realloc dlrealloc   #define memalign dlmemalign   #define valloc dlvalloc   #define pvalloc dlpvalloc -  + /* No define for mallinfo since there's a struct with the same name. */   #ifdef strdup   #undef strdup   #endif   #define strdup debug_xstrdup   #endif      #define dmalloc_touch_fd(X) (X)   #define dmalloc_register_fd(X) (X)   #define dmalloc_accept_leak_fd(X)   #define dmalloc_close_fd(X) (X)