projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bin: compile lttng as C++
[lttng-tools.git]
/
src
/
common
/
argpar
/
argpar.h
diff --git
a/src/common/argpar/argpar.h
b/src/common/argpar/argpar.h
index 43dbd0d56fc1bad4be1f7a8f67c56d53c66c8f33..4bfc51d2b3b395b9968b3ae163d8dc9d05891915 100644
(file)
--- a/
src/common/argpar/argpar.h
+++ b/
src/common/argpar/argpar.h
@@
-9,6
+9,10
@@
#include <stdbool.h>
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
/*
* argpar is a library that provides facilities for argument parsing.
*
@@
-310,5
+314,8
@@
void argpar_item_destroy(struct argpar_item *item);
_item = NULL; \
}
+#if defined(__cplusplus)
+}
+#endif
#endif /* BABELTRACE_ARGPAR_H */
This page took
0.025679 seconds
and
4
git commands to generate.