... let's stay compatible
Showing the changes to libtcc.h (1 of 4 files). Show all
Unified · Split
| @@ -10,13 +10,11 @@ extern "C" { · 9 unmodified lines | |||
| 10 | #endif | 10 | #endif |
| 11 | 11 | ||
| 12 | /*****************************/ | 12 | /*****************************/ |
| 13 | /* set custom allocator for all allocations (optional) */ | 13 | /* set custom allocator for all allocations (optional), NULL for default. */ |
| 14 | |||
| 15 | typedef void *TCCReallocFunc(void *ptr, unsigned long size); | 14 | typedef void *TCCReallocFunc(void *ptr, unsigned long size); |
| 16 | LIBTCCAPI void tcc_set_realloc(TCCReallocFunc *my_realloc); | 15 | LIBTCCAPI void tcc_set_realloc(TCCReallocFunc *my_realloc); |
| 17 | 16 | ||
| 18 | /*****************************/ | 17 | /*****************************/ |
| 19 | |||
| 20 | typedef struct TCCState TCCState; | 18 | typedef struct TCCState TCCState; |
| 21 | 19 | ||
| 22 | /* create a new TCC compilation context */ | 20 | /* create a new TCC compilation context */ |