lib: make public reference count functions have strict types
[babeltrace.git] / lib / graph / iterator.c
index 46b30db00e521138fb2fb81a32b0eae96903667b..db774dfd298a6b13d7a6f79ad1807906b2be3e0e 100644 (file)
@@ -25,7 +25,6 @@
 #include <babeltrace/lib-logging-internal.h>
 
 #include <babeltrace/compiler-internal.h>
-#include <babeltrace/object.h>
 #include <babeltrace/trace-ir/field.h>
 #include <babeltrace/trace-ir/event-const.h>
 #include <babeltrace/trace-ir/event-internal.h>
@@ -1041,3 +1040,27 @@ end:
        bt_object_put_ref(colander_comp_cls);
        return (void *) iterator;
 }
+
+void bt_port_output_notification_iterator_get_ref(
+               const struct bt_port_output_notification_iterator *iterator)
+{
+       bt_object_get_ref(iterator);
+}
+
+void bt_port_output_notification_iterator_put_ref(
+               const struct bt_port_output_notification_iterator *iterator)
+{
+       bt_object_put_ref(iterator);
+}
+
+void bt_self_component_port_input_notification_iterator_get_ref(
+               const struct bt_self_component_port_input_notification_iterator *iterator)
+{
+       bt_object_get_ref(iterator);
+}
+
+void bt_self_component_port_input_notification_iterator_put_ref(
+               const struct bt_self_component_port_input_notification_iterator *iterator)
+{
+       bt_object_put_ref(iterator);
+}
This page took 0.027072 seconds and 4 git commands to generate.