Unified · Split
| @@ -20,6 +20,9 @@ void tcc_enable_debug(TCCState *s); · 19 unmodified lines | |||
| 20 | /* add include path */ | 20 | /* add include path */ |
| 21 | int tcc_add_include_path(TCCState *s, const char *pathname); | 21 | int tcc_add_include_path(TCCState *s, const char *pathname); |
| 22 | 22 | ||
| 23 | /* add in system include path */ | ||
| 24 | int tcc_add_sysinclude_path(TCCState *s, const char *pathname); | ||
| 25 | |||
| 23 | /* define preprocessor symbol 'sym'. Can put optional value */ | 26 | /* define preprocessor symbol 'sym'. Can put optional value */ |
| 24 | void tcc_define_symbol(TCCState *s, const char *sym, const char *value); | 27 | void tcc_define_symbol(TCCState *s, const char *sym, const char *value); |
| 25 | 28 | ||
| @@ -43,7 +46,7 @@ int tcc_get_error(TCCState *s, char *buf, int buf_size); · 17 unmodified lines | |||
| 43 | /*****************************/ | 46 | /*****************************/ |
| 44 | /* linking commands */ | 47 | /* linking commands */ |
| 45 | 48 | ||
| 46 | /* set output type. Must be called before any compilation */ | 49 | /* set output type. MUST BE CALLED before any compilation */ |
| 47 | #define TCC_OUTPUT_MEMORY 0 /* output will be ran in memory (no | 50 | #define TCC_OUTPUT_MEMORY 0 /* output will be ran in memory (no |
| 48 | output file) (default) */ | 51 | output file) (default) */ |
| 49 | #define TCC_OUTPUT_EXE 1 /* executable file */ | 52 | #define TCC_OUTPUT_EXE 1 /* executable file */ |