lib: add internal object pool API and use it; adapt plugins/tests
[babeltrace.git] / include / babeltrace / graph / notification-heap.h
index 51f2b3151e829286c5e9bd5d57503d685da62b35..3efb541ee3ad1e89adc4f69a8ddff151e11ada93 100644 (file)
  */
 
 #include <stddef.h>
-#include <babeltrace/graph/notification.h>
-#include <babeltrace/babeltrace-internal.h>
+
+/* For bt_bool */
 #include <babeltrace/types.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+struct bt_notification;
+
 /**
  * bt_notification_time_compare - Compare two notifications' timestamps
  *
@@ -90,4 +96,8 @@ extern struct bt_notification *bt_notification_heap_peek(
 extern struct bt_notification *bt_notification_heap_pop(
                struct bt_notification_heap *heap);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* BABELTRACE_GRAPH_NOTIFICATION_HEAP_H */
This page took 0.027056 seconds and 4 git commands to generate.