projects
/
platform
/
upstream
/
isl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4157f38
)
isl_arg.h: allow inclusion from C++
author
Sven Verdoolaege
<skimo@kotnet.org>
Fri, 9 Apr 2010 09:04:17 +0000
(11:04 +0200)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Fri, 9 Apr 2010 11:12:34 +0000
(13:12 +0200)
include/isl_arg.h
patch
|
blob
|
history
diff --git
a/include/isl_arg.h
b/include/isl_arg.h
index
2a84d3e
..
a936f37
100644
(file)
--- a/
include/isl_arg.h
+++ b/
include/isl_arg.h
@@
-12,6
+12,10
@@
#include <stddef.h>
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
struct isl_arg_choice {
const char *name;
unsigned value;
@@
-87,4
+91,8
@@
int prefix ## _parse(st *opt, int argc, char **argv) \
return isl_arg_parse(arg, argc, argv, opt); \
}
+#if defined(__cplusplus)
+}
+#endif
+
#endif