X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fbindings%2Fpython%2Fbt2%2Fbt2%2Fmessage.py;h=15e25f20f247f54b29c8e63bbfb6729f0336ed1f;hb=1fba7c7b9ff8f36fde916dfb2317855549f0eb5b;hp=9778265337aebccc93dfd45b05eab99d1dbd64c2;hpb=c6af194f4d5f4478fbd14a019e41cff93f9c207e;p=babeltrace.git diff --git a/src/bindings/python/bt2/bt2/message.py b/src/bindings/python/bt2/bt2/message.py index 97782653..15e25f20 100644 --- a/src/bindings/python/bt2/bt2/message.py +++ b/src/bindings/python/bt2/bt2/message.py @@ -146,7 +146,7 @@ class _StreamActivityMessage(_Message): self._set_default_clock_snapshot_state(self._ptr, native_bt.MESSAGE_STREAM_ACTIVITY_CLOCK_SNAPSHOT_STATE_INFINITE) else: assert utils._is_uint64(value) - self._set_default_clock_snapshot_ptr(self._ptr, value) + self._set_default_clock_snapshot(self._ptr, value) _default_clock_snapshot = property(fset=_default_clock_snapshot) @@ -159,14 +159,14 @@ class _StreamActivityMessage(_Message): class _StreamActivityBeginningMessage(_StreamActivityMessage): _borrow_default_clock_snapshot_ptr = staticmethod(native_bt.message_stream_activity_beginning_borrow_default_clock_snapshot_const) - _set_default_clock_snapshot_ptr = staticmethod(native_bt.message_stream_activity_beginning_set_default_clock_snapshot) + _set_default_clock_snapshot = staticmethod(native_bt.message_stream_activity_beginning_set_default_clock_snapshot) _set_default_clock_snapshot_state = staticmethod(native_bt.message_stream_activity_beginning_set_default_clock_snapshot_state) _borrow_stream_ptr = staticmethod(native_bt.message_stream_activity_beginning_borrow_stream) class _StreamActivityEndMessage(_StreamActivityMessage): _borrow_default_clock_snapshot_ptr = staticmethod(native_bt.message_stream_activity_end_borrow_default_clock_snapshot_const) - _set_default_clock_snapshot_ptr = staticmethod(native_bt.message_stream_activity_end_set_default_clock_snapshot) + _set_default_clock_snapshot = staticmethod(native_bt.message_stream_activity_end_set_default_clock_snapshot) _set_default_clock_snapshot_state = staticmethod(native_bt.message_stream_activity_end_set_default_clock_snapshot_state) _borrow_stream_ptr = staticmethod(native_bt.message_stream_activity_end_borrow_stream)