projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib: bt_graph_create(): accept MIP version
[babeltrace.git]
/
src
/
bindings
/
python
/
bt2
/
bt2
/
component.py
diff --git
a/src/bindings/python/bt2/bt2/component.py
b/src/bindings/python/bt2/bt2/component.py
index 2d0cd922a1a07730b830ca35c0aeecef5deaf881..a68da615f1b542f187cc0637c83f4b7f325d94f1 100644
(file)
--- a/
src/bindings/python/bt2/bt2/component.py
+++ b/
src/bindings/python/bt2/bt2/component.py
@@
-677,6
+677,11
@@
class _UserComponent(metaclass=_UserComponentType):
def addr(self):
return int(self._bt_ptr)
+ @property
+ def _graph_mip_version(self):
+ ptr = self._bt_as_self_component_ptr(self._bt_ptr)
+ return native_bt.self_component_get_graph_mip_version(ptr)
+
def __init__(self, params=None, obj=None):
pass
This page took
0.024172 seconds
and
4
git commands to generate.