X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fcontext.h;h=bc7de3a0e84c5de89967cae08cc020d7e18145ac;hp=ee2a724aaebdb43903758e7e9e091613496ff738;hb=6946751f1f5ce1ed7ed5648a8e259c68f718223c;hpb=7f89ddce05f0a5c985d6333fbe70a992da4bd244 diff --git a/include/babeltrace/context.h b/include/babeltrace/context.h index ee2a724a..bc7de3a0 100644 --- a/include/babeltrace/context.h +++ b/include/babeltrace/context.h @@ -26,6 +26,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + /* 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); +#ifdef __cplusplus +} +#endif + #endif /* _BABELTRACE_CONTEXT_H */