aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
Diffstat (limited to 'tcc.h')
-rw-r--r--tcc.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/tcc.h b/tcc.h
index fbd320f..831c145 100644
--- a/tcc.h
+++ b/tcc.h
@@ -627,6 +627,14 @@ struct sym_attr {
#endif
};
+typedef struct ParseArgsState
+{
+ int run;
+ int pthread;
+ int filetype;
+ CString linker_arg; /* collect -Wl options for input such as "-Wl,-rpath -Wl,<path>" */
+} ParseArgsState;
+
struct TCCState {
int verbose; /* if true, display some information during compilation */
@@ -806,6 +814,7 @@ struct TCCState {
int do_bench; /* option -bench */
int gen_deps; /* option -MD */
char *deps_outfile; /* option -MF */
+ ParseArgsState *parse_args_state;
};
/* The current value can be: */