bin: compile lttng as C++
[lttng-tools.git] / src / common / tracker.h
index 8b37940493ea391784dc4bad6417578e3deb1b2b..e81ee309e7e91527861eb6090475ba645f814bbd 100644 (file)
 #include <common/macros.h>
 #include <common/sessiond-comm/sessiond-comm.h>
 
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
 struct process_attr_value {
        enum lttng_process_attr_value_type type;
        union value {
@@ -76,4 +80,8 @@ enum lttng_error_code process_attr_value_from_comm(
                const struct lttng_buffer_view *value_view,
                struct process_attr_value **value);
 
+#if defined(__cplusplus)
+}
+#endif
+
 #endif /* LTTNG_COMMON_TRACKER_H */
This page took 0.023574 seconds and 4 git commands to generate.