summaryrefslogtreecommitdiff
path: root/cpp.h
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2015-12-15 23:09:12 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-12-17 10:02:35 +0100
commit31cab05faab92a2f0062b4833547083621d85678 (patch)
treed68c51ecf69f457654ad49ee805833407125d166 /cpp.h
parent52726714c29c3442d3675da4fe888d565988d5db (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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp.h b/cpp.h
index a3e295d..45c42ac 100644
--- a/cpp.h
+++ b/cpp.h
@@ -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