mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-13 10:25:01 +00:00
21 lines
523 B
C
21 lines
523 B
C
#ifndef NSTRACEMALLOCCALLBACKS_H
|
|
#define NSTRACEMALLOCCALLBACKS_H
|
|
|
|
PR_BEGIN_EXTERN_C
|
|
|
|
|
|
PR_EXTERN(void) StartupHooker();/*implemented in TraceMalloc.cpp*/
|
|
PR_EXTERN(void) ShutdownHooker();
|
|
|
|
PR_EXTERN(void) MallocCallback(void *aPtr, size_t aSize);/*implemented in nsTraceMalloc.c*/
|
|
PR_EXTERN(void) CallocCallback(void *aPtr, size_t aCount, size_t aSize);
|
|
PR_EXTERN(void) ReallocCallback(void *aPin, void* aPout, size_t aSize);
|
|
PR_EXTERN(void) FreeCallback(void *aPtr);
|
|
|
|
|
|
PR_END_EXTERN_C
|
|
|
|
|
|
#endif //NSTRACEMALLOCCALLBACKS_H
|
|
|