From c77f837598b2653d9cb2acd3f9c496e001c9a03e Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 11 Jan 2022 18:01:28 +1100 Subject: 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. --- intern/guardedalloc/MEM_guardedalloc.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'intern/guardedalloc') 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. */ -- cgit v1.2.3