aboutsummaryrefslogtreecommitdiff
path: root/libtcc.h
diff options
context:
space:
mode:
authorgrischka <grischka>2017-02-18 09:55:34 +0100
committergrischka <grischka>2017-02-18 09:55:34 +0100
commit2d3b9559bf569f137cefb7f8386a0dc58e33c81f (patch)
tree4da5267d5dd1bf907bdf82d7065c751a05757e6e /libtcc.h
parentf34b1feaca557cd9da198610b67d4328fb0c7a84 (diff)
downloadtinycc-2d3b9559bf569f137cefb7f8386a0dc58e33c81f.tar.gz
tinycc-2d3b9559bf569f137cefb7f8386a0dc58e33c81f.tar.bz2
tcctools.c: integrate tiny_libmaker/_impdef
usage: tcc -ar [rcsv] lib files... tcc -impdef lib.dll [-v] [-o lib.def] also: - support more files with -c: tcc -c f1.c f2.c ... - fix a bug which caused tcc f1.c f2.S to produce no asm - allow tcc -ar @listfile too - change prototype: _void_ tcc_set_options(...) - apply -Wl,-whole-archive when a librariy is given as libxxx.a also (not just for -lxxx)
Diffstat (limited to 'libtcc.h')
-rw-r--r--libtcc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtcc.h b/libtcc.h
index 799ffd8..a1b31e3 100644
--- a/libtcc.h
+++ b/libtcc.h
@@ -27,7 +27,7 @@ LIBTCCAPI void tcc_set_error_func(TCCState *s, void *error_opaque,
void (*error_func)(void *opaque, const char *msg));
/* set options as from command line (multiple supported) */
-LIBTCCAPI int tcc_set_options(TCCState *s, const char *str);
+LIBTCCAPI void tcc_set_options(TCCState *s, const char *str);
/*****************************/
/* preprocessor */