Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Poirier <theeth@yahoo.com>2009-11-11 06:45:26 +0300
committerMartin Poirier <theeth@yahoo.com>2009-11-11 06:45:26 +0300
commitf7d71499369fabc19ebc46ca723b6437943005de (patch)
tree2957cf841be47f100f79a599ccbf88b5e5e17fd9 /intern/guardedalloc/MEM_guardedalloc.h
parentf0fc007c4b4bde845610d93cbae9c3c4a86a1216 (diff)
Debug tools: new function MEM_testN(void*)
returns 0 if pointer is not in memlist
Diffstat (limited to 'intern/guardedalloc/MEM_guardedalloc.h')
-rw-r--r--intern/guardedalloc/MEM_guardedalloc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/intern/guardedalloc/MEM_guardedalloc.h b/intern/guardedalloc/MEM_guardedalloc.h
index 74cc365140f..e404f174935 100644
--- a/intern/guardedalloc/MEM_guardedalloc.h
+++ b/intern/guardedalloc/MEM_guardedalloc.h
@@ -73,6 +73,12 @@ extern "C" {
*/
short MEM_freeN(void *vmemh);
+
+ /**
+ * Return zero if memory is not in allocated list
+ */
+ short MEM_testN(void *vmemh);
+
/**
* Duplicates a block of memory, and returns a pointer to the
* newly allocated block. */