diff options
Diffstat (limited to 'src/dlmalloc.h')
| -rw-r--r-- | src/dlmalloc.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/dlmalloc.h b/src/dlmalloc.h index cb09308aa1..e696f6e08c 100644 --- a/src/dlmalloc.h +++ b/src/dlmalloc.h @@ -31,4 +31,16 @@ #include "dlmalloc/malloc.h" #endif +#include <stddef.h> + +#ifdef __cplusplus +extern "C" { +#endif + +void dlmalloc_inspect_all(void(*handler)(void*, void *, size_t, void*), void* arg); + +#ifdef __cplusplus +}; /* end of extern "C" */ +#endif + #endif // ART_SRC_DLMALLOC_H_ |