projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bt2: Adapt test_packet.py and make it pass
[babeltrace.git]
/
bindings
/
python
/
bt2
/
bt2
/
field.py
diff --git
a/bindings/python/bt2/bt2/field.py
b/bindings/python/bt2/bt2/field.py
index f9b9d03e4b52396705d97cdda7e1d130ca3be1f8..df3f967c289e3c159dfbf80cd38f659da01e2caf 100644
(file)
--- a/
bindings/python/bt2/bt2/field.py
+++ b/
bindings/python/bt2/bt2/field.py
@@
-70,7
+70,9
@@
class _Field(object._UniqueObject, metaclass=abc.ABCMeta):
@property
def field_class(self):
@property
def field_class(self):
- return self._field_class
+ field_class_ptr = native_bt.field_borrow_class_const(self._ptr)
+ assert field_class_ptr is not None
+ return bt2.field_class._create_field_class_from_ptr_and_get_ref(field_class_ptr)
@property
def is_set(self):
@property
def is_set(self):
This page took
0.024563 seconds
and
4
git commands to generate.