diff options
author | Vadim Kochan <vadim4j@gmail.com> | 2015-12-15 23:09:12 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2015-12-17 10:02:35 +0100 |
commit | 31cab05faab92a2f0062b4833547083621d85678 (patch) | |
tree | d68c51ecf69f457654ad49ee805833407125d166 /cpp.h | |
parent | 52726714c29c3442d3675da4fe888d565988d5db (diff) |
cpp: Allow to pass additional cpp options
Extend cpp_exec function with args parameter to
specify additional cpp options (like -D).
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'cpp.h')
-rw-r--r-- | cpp.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,6 +1,6 @@ #ifndef CPP_H #define CPP_H -extern int cpp_exec(char *in_file, char *out_file, size_t out_len); +extern int cpp_exec(char *in_file, char *out_file, size_t out_len, char **argv); #endif |