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:
@@ -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 *));
|
||||
|
||||
|
Reference in New Issue
Block a user