os_memory.c (pymol-open-source-2.2.0) | : | os_memory.c (pymol-open-source-2.3.0) | ||
---|---|---|---|---|
skipping to change at line 26 | skipping to change at line 26 | |||
#include"os_memory.h" | #include"os_memory.h" | |||
#ifdef _os_memory_debug_on | #ifdef _os_memory_debug_on | |||
#include<stdio.h> | #include<stdio.h> | |||
#include<string.h> | #include<string.h> | |||
#define GDB_ENTRY | #define GDB_ENTRY | |||
#ifndef NULL | ||||
#define NULL (void *)0 | ||||
#endif | ||||
#ifndef false | ||||
#define false 0 | ||||
#endif | ||||
#ifndef true | ||||
#define true 1 | ||||
#endif | ||||
typedef struct DebugRec { | typedef struct DebugRec { | |||
struct DebugRec *next; | struct DebugRec *next; | |||
char file[64], note[64]; | char file[64], note[64]; | |||
int line; | int line; | |||
unsigned int size; | unsigned int size; | |||
int type; | int type; | |||
} DebugRec; | } DebugRec; | |||
#define HASH(x) ((x>>11)&0x3FF) | #define HASH(x) ((x>>11)&0x3FF) | |||
End of changes. 1 change blocks. | ||||
12 lines changed or deleted | 0 lines changed or added |