History

added tcc_add_sysinclude_path()

bellard committed 24 years ago

Commit f5b92201 parent 53834651 file · +4 −1Browse files

Unified · Split

libtcc.h+4−1
@@ -20,6 +20,9 @@ void tcc_enable_debug(TCCState *s); · 19 unmodified lines
2020 /* add include path */
2121 int tcc_add_include_path(TCCState *s, const char *pathname);
2222
23+/* add in system include path */
24+int tcc_add_sysinclude_path(TCCState *s, const char *pathname);
25+
2326 /* define preprocessor symbol 'sym'. Can put optional value */
2427 void tcc_define_symbol(TCCState *s, const char *sym, const char *value);
2528
@@ -43,7 +46,7 @@ int tcc_get_error(TCCState *s, char *buf, int buf_size); · 17 unmodified lines
4346 /*****************************/
4447 /* linking commands */
4548
46−/* set output type. Must be called before any compilation */
49+/* set output type. MUST BE CALLED before any compilation */
4750 #define TCC_OUTPUT_MEMORY 0 /* output will be ran in memory (no
4851 output file) (default) */
4952 #define TCC_OUTPUT_EXE 1 /* executable file */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t