diff options
| author | grischka <grischka> | 2016-10-01 20:46:16 +0200 |
|---|---|---|
| committer | grischka <grischka> | 2016-10-01 20:46:16 +0200 |
| commit | acac35c12597eb678c4a0866f79a6aeb9171dd09 (patch) | |
| tree | 818fe5dd98e2ae339aac1167766d9e52bd0fd9bd /libtcc.h | |
| parent | 8637c1d0ad08d28052efc1de5c38b63acd2c08fc (diff) | |
| download | tinycc-acac35c12597eb678c4a0866f79a6aeb9171dd09.tar.gz tinycc-acac35c12597eb678c4a0866f79a6aeb9171dd09.tar.bz2 | |
libtcc: filetype cleanup
- does not change signature of tcc_add_file
Diffstat (limited to 'libtcc.h')
| -rw-r--r-- | libtcc.h | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -48,11 +48,7 @@ LIBTCCAPI void tcc_undefine_symbol(TCCState *s, const char *sym); /* compiling */ /* add a file (C file, dll, object, library, ld script). Return -1 if error. */ -LIBTCCAPI int tcc_add_file(TCCState *s, const char *filename, int filetype); -#define TCC_FILETYPE_BINARY 'b' -#define TCC_FILETYPE_C 'c' -#define TCC_FILETYPE_ASM 's' -#define TCC_FILETYPE_ASM_PP 'S' +LIBTCCAPI int tcc_add_file(TCCState *s, const char *filename); /* compile a string containing a C source. Return -1 if error. */ LIBTCCAPI int tcc_compile_string(TCCState *s, const char *buf); |
