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
20/* add include path */20/* add include path */
21int tcc_add_include_path(TCCState *s, const char *pathname);21int tcc_add_include_path(TCCState *s, const char *pathname);
22 22
23/* add in system include path */
24int 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 */
24void tcc_define_symbol(TCCState *s, const char *sym, const char *value);27void 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 (no50#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 */

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