Lines 140-147
Link Here
|
140 |
old_memory += *var; |
140 |
old_memory += *var; |
141 |
} |
141 |
} |
142 |
|
142 |
|
143 |
#define FOOTPRINT( field ) Save_Memory( &memory_footprint.##field ) |
143 |
#define FT_initial_overhead memory_footprint.initial_overhead |
|
|
144 |
#define FT_face_object memory_footprint.face_object |
145 |
#define FT_glyph_object memory_footprint.glyph_object |
146 |
#define FT_first_instance memory_footprint.first_instance |
147 |
#define FT_second_instance memory_footprint.second_instance |
144 |
|
148 |
|
|
|
149 |
#define FOOTPRINT( field ) Save_Memory( &FT_ ## field ) |
145 |
|
150 |
|
146 |
static void |
151 |
static void |
147 |
Print_Mem( long val, char* string ) |
152 |
Print_Mem( long val, char* string ) |
Lines 152-159
Link Here
|
152 |
string ); |
157 |
string ); |
153 |
} |
158 |
} |
154 |
|
159 |
|
155 |
#define PRINT_MEM( field, string ) \ |
160 |
#define PRINT_MEM( field, string ) Print_Mem( FT_ ## field, string ) |
156 |
Print_Mem( memory_footprint.##field, string ) |
|
|
157 |
|
161 |
|
158 |
|
162 |
|
159 |
/* Print the memory footprint */ |
163 |
/* Print the memory footprint */ |