Split guardedalloc print into 2 funcs, 1 that prints on errors, another then prints the memory blocks as a python dict, minor changes to help text

This commit is contained in:
Campbell Barton
2008-01-03 14:53:44 +00:00
parent 0e716733bc
commit 86471f8b72
4 changed files with 45 additions and 15 deletions

View File

@@ -99,10 +99,14 @@ extern "C" {
* */
void *MEM_mapallocN(unsigned int len, const char * str);
/** Print a list of the names and sizes of all allocated memory
* blocks. as a python dict for easy investigation */
void MEM_printmemlist_pydict(void);
/** Print a list of the names and sizes of all allocated memory
* blocks. */
void MEM_printmemlist(void);
/** Set the callback function for error output. */
void MEM_set_error_callback(void (*func)(char *));