X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=src%2Fbindings%2Fpython%2Fbt2%2Fbt2%2Fnative_bt_component_class.i.h;h=f0ba04258d2a331705d3586a67b5c247162e2b7b;hb=e1b15e554b760856b13a3e617999e21bb9e1ae7e;hp=1f193685d101d5152fa94592e03164494a0b95ff;hpb=68e2deedb3317cbe11bef0d4b45803a60d386edb;p=babeltrace.git diff --git a/src/bindings/python/bt2/bt2/native_bt_component_class.i.h b/src/bindings/python/bt2/bt2/native_bt_component_class.i.h index 1f193685..f0ba0425 100644 --- a/src/bindings/python/bt2/bt2/native_bt_component_class.i.h +++ b/src/bindings/python/bt2/bt2/native_bt_component_class.i.h @@ -1083,7 +1083,6 @@ bt_message_iterator_class_initialize_method_status component_class_message_iterator_init( bt_self_message_iterator *self_message_iterator, bt_self_message_iterator_configuration *config, - bt_self_component *self_component, bt_self_component_port_output *self_component_port_output) { bt_message_iterator_class_initialize_method_status status = __BT_FUNC_STATUS_OK; @@ -1095,6 +1094,9 @@ component_class_message_iterator_init( PyObject *py_init_method_result = NULL; PyObject *py_iter = NULL; PyObject *py_comp; + bt_self_component *self_component = + bt_self_message_iterator_borrow_component( + self_message_iterator); bt_logging_level log_level = get_self_component_log_level( self_component);