X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=blobdiff_plain;f=src%2Futil%2Fos_memory_debug.h;h=020f46fb3d1371406c7d6200d80d6a22abedcefc;hp=9a487dec05c8e181f2d826f5527f66b259bb98da;hb=HEAD;hpb=88c4680b5a50ea8840c38aa0a80acde63ef1677b diff --git a/src/util/os_memory_debug.h b/src/util/os_memory_debug.h index 9a487dec05c..020f46fb3d1 100644 --- a/src/util/os_memory_debug.h +++ b/src/util/os_memory_debug.h @@ -36,9 +36,6 @@ #endif -#include "pipe/p_compiler.h" - - #ifdef __cplusplus extern "C" { #endif @@ -60,6 +57,12 @@ void * debug_realloc(const char *file, unsigned line, const char *function, void *old_ptr, size_t old_size, size_t new_size ); +unsigned long +debug_memory_begin(void); + +void +debug_memory_end(unsigned long start_no); + void debug_memory_tag(void *ptr, unsigned tag);