projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: C++ support to API header files
[babeltrace.git]
/
include
/
babeltrace
/
context.h
diff --git
a/include/babeltrace/context.h
b/include/babeltrace/context.h
index ee2a724aaebdb43903758e7e9e091613496ff738..bc7de3a0e84c5de89967cae08cc020d7e18145ac 100644
(file)
--- a/
include/babeltrace/context.h
+++ b/
include/babeltrace/context.h
@@
-26,6
+26,10
@@
#include <unistd.h>
#include <babeltrace/format.h>
#include <unistd.h>
#include <babeltrace/format.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* struct bt_context is opaque to the user */
struct bt_context;
struct stream_pos;
/* struct bt_context is opaque to the user */
struct bt_context;
struct stream_pos;
@@
-105,4
+109,8
@@
void bt_context_put(struct bt_context *ctx);
*/
struct bt_context *bt_ctf_event_get_context(const struct bt_ctf_event *event);
*/
struct bt_context *bt_ctf_event_get_context(const struct bt_ctf_event *event);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _BABELTRACE_CONTEXT_H */
#endif /* _BABELTRACE_CONTEXT_H */
This page took
0.022902 seconds
and
4
git commands to generate.