The python code that call _bt_ctf_get_int_len() fails to wrap self._d
with the call to _bt_ctf_get_decl_from_def.
Acked-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: Amit Margalit <amitm@il.ibm.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Return the size, in bits, of an int or a negative
value on error.
"""
Return the size, in bits, of an int or a negative
value on error.
"""
- return _bt_ctf_get_int_len(self._d)
+ return _bt_ctf_get_int_len(_bt_ctf_get_decl_from_def(self._d))
def get_encoding(self):
"""
def get_encoding(self):
"""