# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
-from bt2 import native_bt, object, utils
+from bt2 import native_bt, utils
import bt2
if descr.params is not None:
params_ptr = descr.params._ptr
- status = native_bt.bt2_component_descriptor_set_add_descriptor_with_init_method_data(
+ status = native_bt.bt2_component_descriptor_set_add_descriptor_with_initialize_method_data(
comp_descr_set_ptr, base_cc_ptr, params_ptr, descr.obj
)
utils._handle_func_status(