projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bt2: prepend `_` prefix to names of classes that the user cannot create
[babeltrace.git]
/
bindings
/
python
/
bt2
/
bt2
/
event_class.py
diff --git
a/bindings/python/bt2/bt2/event_class.py
b/bindings/python/bt2/bt2/event_class.py
index d63c93476532e4ab32a6f20e0cc1b34faf142b4b..d3141b86f0a79a0362c9cd3fc6ad18be343c41e2 100644
(file)
--- a/
bindings/python/bt2/bt2/event_class.py
+++ b/
bindings/python/bt2/bt2/event_class.py
@@
-45,7
+45,7
@@
class EventClassLogLevel:
DEBUG = native_bt.EVENT_CLASS_LOG_LEVEL_DEBUG
DEBUG = native_bt.EVENT_CLASS_LOG_LEVEL_DEBUG
-class EventClass(object._SharedObject):
+class
_
EventClass(object._SharedObject):
_get_ref = staticmethod(native_bt.event_class_get_ref)
_put_ref = staticmethod(native_bt.event_class_put_ref)
_get_ref = staticmethod(native_bt.event_class_get_ref)
_put_ref = staticmethod(native_bt.event_class_put_ref)
@@
-54,7
+54,7
@@
class EventClass(object._SharedObject):
sc_ptr = native_bt.event_class_borrow_stream_class(self._ptr)
if sc_ptr is not None:
sc_ptr = native_bt.event_class_borrow_stream_class(self._ptr)
if sc_ptr is not None:
- return bt2.stream_class.StreamClass._create_from_ptr_and_get_ref(sc_ptr)
+ return bt2.stream_class.
_
StreamClass._create_from_ptr_and_get_ref(sc_ptr)
@property
def name(self):
@property
def name(self):
This page took
0.023275 seconds
and
4
git commands to generate.