diff options
| author | 2012-08-21 14:20:03 -0700 | |
|---|---|---|
| committer | 2012-08-21 14:20:21 -0700 | |
| commit | b18e77abdb06a443744fbb6589e0932fa89f6073 (patch) | |
| tree | 0e77099cfedbbb13a1fee3c1b93c34305b447d1c /src/dlmalloc.h | |
| parent | 22ad71521f3006b9bf344738c0276a501934fc01 (diff) | |
Switch art over to the new bionic dlmalloc 2.8.5 callback
Change-Id: I1314e87a51553fd358dbf9c44f804a7eb2de3a7d
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_ |