summaryrefslogtreecommitdiff
path: root/src/options.h
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2015-08-09 11:38:06 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2015-08-09 11:38:06 +0100
commit07b24d96b006edaa30ff431c10ff9e938a524aa2 (patch)
treef5e38528d9b5c7290a7471cd4189128372700be4 /src/options.h
parent678ec8cc73d54583906a91f68007a8c29ff3d3e2 (diff)
parent89f5a327b82d0f15c2988d918c8f9f57a156da36 (diff)
downloadnsgenbind-07b24d96b006edaa30ff431c10ff9e938a524aa2.tar.gz
nsgenbind-07b24d96b006edaa30ff431c10ff9e938a524aa2.tar.bz2
Merge branch 'vince/interfacemap'
Diffstat (limited to 'src/options.h')
-rw-r--r--src/options.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/options.h b/src/options.h
index 13c02be..02674b7 100644
--- a/src/options.h
+++ b/src/options.h
@@ -12,12 +12,7 @@
/** global options */
struct options {
char *infilename; /**< binding source */
-
- char *outfilename; /**< output source file */
- char *hdrfilename; /**< output header file */
-
- char *depfilename; /**< dependancy output*/
- FILE *depfilehandle; /**< dependancy file handle */
+ char *outdirname; /**< output directory */
char *idlpath; /**< path to IDL files */
bool verbose; /**< verbose processing */
@@ -30,13 +25,14 @@ extern struct options *options;
enum opt_warnings {
WARNING_UNIMPLEMENTED = 1,
+ WARNING_DUPLICATED = 2,
};
-#define WARNING_ALL (WARNING_UNIMPLEMENTED)
+#define WARNING_ALL (WARNING_UNIMPLEMENTED | WARNING_DUPLICATED)
#define WARN(flags, msg, args...) do { \
if ((options->warnings & flags) != 0) { \
- fprintf(stderr, "%s: warning:"msg"\n", __func__, ## args); \
+ fprintf(stderr, "%s: warning: "msg"\n", __func__, ## args); \
} \
} while(0)