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:
authorCampbell Barton <campbell@blender.org>2022-01-11 10:01:28 +0300
committerCampbell Barton <campbell@blender.org>2022-01-11 10:16:00 +0300
commitc77f837598b2653d9cb2acd3f9c496e001c9a03e (patch)
tree582bea9f12e721dc042777b7bf651e72c041910a
parentfd922f59404fa67d921691eac83288503f164b32 (diff)
Revert "Cleanup: remove declaration for removed function"
This reverts commit aa363ec2ae9382c052f024284dcdb77ac495c177. The function still exists, this commit caused a warning with Clang So keep MEM_printmemlist_pydict.
-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 decd648c5d5..8a20323dcfc 100644
--- a/intern/guardedalloc/MEM_guardedalloc.h
+++ b/intern/guardedalloc/MEM_guardedalloc.h
@@ -148,6 +148,12 @@ extern void *(*MEM_mallocN_aligned)(size_t len,
ATTR_ALLOC_SIZE(1) ATTR_NONNULL(3);
/**
+ * Print a list of the names and sizes of all allocated memory
+ * blocks. as a python dict for easy investigation.
+ */
+extern void (*MEM_printmemlist_pydict)(void);
+
+/**
* Print a list of the names and sizes of all allocated memory blocks.
*/
extern void (*MEM_printmemlist)(void);