summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe/p_debug.h
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-04-08 11:30:36 +0900
committerJosé Fonseca <[email protected]>2008-04-08 12:04:03 +0900
commit4e2127b0e5cb6411123e16dd562626cd70814a9a (patch)
tree49ab5d3a0a5978f62ccfde2918f4159c1819c79d /src/gallium/include/pipe/p_debug.h
parent985134211d9fbfe9b7885beeeb85fdcf2ab78f87 (diff)
gallium: Allow to debug memory leaks in nested scopes.
Diffstat (limited to 'src/gallium/include/pipe/p_debug.h')
-rw-r--r--src/gallium/include/pipe/p_debug.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/include/pipe/p_debug.h b/src/gallium/include/pipe/p_debug.h
index 9e52ad9a374..235c47abacf 100644
--- a/src/gallium/include/pipe/p_debug.h
+++ b/src/gallium/include/pipe/p_debug.h
@@ -304,11 +304,11 @@ void *
debug_realloc(const char *file, unsigned line, const char *function,
void *old_ptr, size_t old_size, size_t new_size );
-void
-debug_memory_reset(void);
+unsigned long
+debug_memory_begin(void);
void
-debug_memory_report(void);
+debug_memory_end(unsigned long beginning);
#ifdef __cplusplus