bin: compile lttng-sessiond as C++
[lttng-tools.git] / src / common / dynamic-buffer.h
index 0e0dedc9b01b9af35b10e3c74a5f21e9afc557c7..d4813fa3919b6c3d43dc536d308368f8f186b837 100644 (file)
 #include <stdint.h>
 #include <common/macros.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 struct lttng_buffer_view;
 
 struct lttng_dynamic_buffer {
@@ -92,4 +96,8 @@ void lttng_dynamic_buffer_reset(struct lttng_dynamic_buffer *buffer);
 size_t lttng_dynamic_buffer_get_capacity_left(
                struct lttng_dynamic_buffer *buffer);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* LTTNG_DYNAMIC_BUFFER_H */
This page took 0.023076 seconds and 4 git commands to generate.