projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Omit 'value' from is_set and reset field functions
[babeltrace.git]
/
bindings
/
python
/
bt2
/
bt2
/
fields.py
diff --git
a/bindings/python/bt2/bt2/fields.py
b/bindings/python/bt2/bt2/fields.py
index d34efdf7c636d145b959303f12b5ada5e35fa66b..e3cbbef5a75ad5845107a2a9be6753a319f1d0bf 100644
(file)
--- a/
bindings/python/bt2/bt2/fields.py
+++ b/
bindings/python/bt2/bt2/fields.py
@@
-78,11
+78,11
@@
class _Field(object._Object, metaclass=abc.ABCMeta):
@property
def is_set(self):
@property
def is_set(self):
- is_set = native_bt.ctf_field_
value_
is_set(self._ptr)
+ is_set = native_bt.ctf_field_is_set(self._ptr)
return is_set > 0
def reset(self):
return is_set > 0
def reset(self):
- ret = native_bt.ctf_field_reset
_value
(self._ptr)
+ ret = native_bt.ctf_field_reset(self._ptr)
utils._handle_ret(ret, "cannot reset field object's value")
utils._handle_ret(ret, "cannot reset field object's value")
This page took
0.023018 seconds
and
4
git commands to generate.