Fix: C++ support to API header files
[babeltrace.git] / include / babeltrace / ctf / iterator.h
index fe70b5e732258e5a245e151a7a259eb7eaf237f8..9370583a58df3e6042b92f74932305234ba0bc51 100644 (file)
 
 #include <babeltrace/iterator.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 struct bt_ctf_iter;
 struct bt_ctf_event;
 
@@ -70,4 +74,8 @@ void bt_ctf_iter_destroy(struct bt_ctf_iter *iter);
  */
 struct bt_ctf_event *bt_ctf_iter_read_event(struct bt_ctf_iter *iter);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _BABELTRACE_CTF_ITERATOR_H */
This page took 0.022813 seconds and 4 git commands to generate.