def __init__(self, value=None): if value is None: ptr = native_bt.value_bool_create() else: ptr = native_bt.value_bool_create_init(self._value_to_bool(value)) self._check_create_status(ptr) super().__init__(ptr)
def __init__(self, value=None): if value is None: ptr = native_bt.value_bool_create() else: ptr = native_bt.value_bool_create_init(self._value_to_bool(value)) self._check_create_status(ptr) super().__init__(ptr)