Document libbabeltrace2's C API
[babeltrace.git] / src / lib / graph / component.h
index c993ce6914df7a01c72f6a74d4553b43d30dea6c..0925d5f265140321c200c17724e68a87c7b14029 100644 (file)
  */
 
 #include "common/macros.h"
-#include <babeltrace2/graph/component-const.h>
+#include <babeltrace2/graph/component.h>
 #include <babeltrace2/graph/component-class.h>
 #include "lib/object.h"
 #include <babeltrace2/types.h>
 #include <babeltrace2/logging.h>
 #include "common/assert.h"
 #include <glib.h>
+#include <stdbool.h>
 #include <stdio.h>
 
 #include "component-class.h"
@@ -75,7 +76,7 @@ struct bt_component {
 static inline
 struct bt_graph *bt_component_borrow_graph(struct bt_component *comp)
 {
-       BT_ASSERT(comp);
+       BT_ASSERT_DBG(comp);
        return (void *) bt_object_borrow_parent(&comp->base);
 }
 
This page took 0.022833 seconds and 4 git commands to generate.