X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=lib%2Fgraph%2Fiterator.c;fp=lib%2Fgraph%2Fiterator.c;h=6a969826cc4da08a253d023360e01ead5851a99c;hb=da7db10cad5f0ce84ec97f65fe9e5694e0c9a521;hp=1e02eb33c5eff3613ae6809a4d2c7322749cf205;hpb=05b974f6aa76ee65a76ab047410a4c271a5c65c0;p=deliverable%2Fbabeltrace.git diff --git a/lib/graph/iterator.c b/lib/graph/iterator.c index 1e02eb33c..6a969826c 100644 --- a/lib/graph/iterator.c +++ b/lib/graph/iterator.c @@ -83,6 +83,7 @@ (_iter)->state == BT_SELF_COMPONENT_PORT_INPUT_MESSAGE_ITERATOR_STATE_LAST_SEEKING_RETURNED_ERROR, \ "Message iterator is in the wrong state: %!+i", _iter) +BT_ASSERT_PRE_FUNC static inline void _set_self_comp_port_input_msg_iterator_state( struct bt_self_component_port_input_message_iterator *iterator, @@ -881,6 +882,7 @@ bt_bool bt_self_component_port_input_message_iterator_can_seek_beginning( return can; } +BT_ASSERT_PRE_FUNC static inline void _set_iterator_state_after_seeking( struct bt_self_component_port_input_message_iterator *iterator,