_borrow_default_clock_class_ptr = staticmethod(
native_bt.stream_class_borrow_default_clock_class_const
)
+ _borrow_user_attributes_ptr = staticmethod(
+ native_bt.stream_class_borrow_user_attributes_const
+ )
_event_class_cls = property(lambda _: bt2_event_class._EventClassConst)
_trace_class_cls = property(lambda _: bt2_trace_class._TraceClassConst)
@property
def user_attributes(self):
- ptr = native_bt.stream_class_borrow_user_attributes(self._ptr)
+ ptr = self._borrow_user_attributes_ptr(self._ptr)
assert ptr is not None
return bt2_value._create_from_ptr_and_get_ref(ptr)
_borrow_default_clock_class_ptr = staticmethod(
native_bt.stream_class_borrow_default_clock_class
)
+ _borrow_user_attributes_ptr = staticmethod(
+ native_bt.stream_class_borrow_user_attributes
+ )
+
_event_class_cls = property(lambda s: bt2_event_class._EventClass)
_trace_class_cls = property(lambda s: bt2_trace_class._TraceClass)
_clock_class_cls = property(lambda s: bt2_clock_class._ClockClass)