bin: compile lttng as C++
[lttng-tools.git] / include / lttng / condition / condition-internal.h
index 5bafaf05b266e00fee1b1ee03e8b58268244a77b..a491d3fe34a46e33bf02f6d4a5c585724a17c89f 100644 (file)
 #include <urcu/list.h>
 #include <urcu/ref.h>
 
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
 struct mi_writer;
 struct mi_lttng_error_query_callbacks;
 struct lttng_trigger;
@@ -82,4 +86,8 @@ enum lttng_error_code lttng_condition_mi_serialize(
 
 const char *lttng_condition_type_str(enum lttng_condition_type type);
 
+#if defined(__cplusplus)
+}
+#endif
+
 #endif /* LTTNG_CONDITION_INTERNAL_H */
This page took 0.023499 seconds and 4 git commands to generate.