Commit: c77f837598b2653d9cb2acd3f9c496e001c9a03e
Author: Campbell Barton
Date: Tue Jan 11 18:01:28 2022 +1100
Branches: master
https://developer.blender.org/rBc77f837598b2653d9cb2acd3f9c496e001c9a03e
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.
===================================================================
M intern/guardedalloc/MEM_guardedalloc.h
===================================================================
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
@@ -147,6 +147,12 @@ extern void *(*MEM_mallocN_aligned)(size_t len,
const char *str) /* ATTR_MALLOC */
ATTR_WARN_UNUSED_RESULT
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.
*/
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs