os_memory.h (pymol-open-source-2.2.0) | : | os_memory.h (pymol-open-source-2.3.0) | ||
---|---|---|---|---|
skipping to change at line 30 | skipping to change at line 30 | |||
In order to use the debugging system, you must do the following... | In order to use the debugging system, you must do the following... | |||
*use os_malloc for malloc | *use os_malloc for malloc | |||
*use os_realloc for realloc | *use os_realloc for realloc | |||
*use os_calloc for calloc | *use os_calloc for calloc | |||
*use os_free for free | *use os_free for free | |||
*/ | */ | |||
#include<stdlib.h> | #include<stdlib.h> | |||
#include<stdbool.h> | ||||
/* ==================== Master Switch ============================= | /* ==================== Master Switch ============================= | |||
* Define _os_memory_debug_on to enable the debugging system... | * Define _os_memory_debug_on to enable the debugging system... | |||
* Note: the debugging system is not thread-safe, so turn this | * Note: the debugging system is not thread-safe, so turn this | |||
* flag off when you are using threads | * flag off when you are using threads | |||
*/ | */ | |||
#define _os_memory_debug_on | #define _os_memory_debug_on | |||
/* ================================================================ | /* ================================================================ | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added |