projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace assert() -> BT_ASSERT() and some preconditions with BT_ASSERT_PRE()
[babeltrace.git]
/
bindings
/
python
/
bt2
/
bt2
/
native_btnotifiter.i
diff --git
a/bindings/python/bt2/bt2/native_btnotifiter.i
b/bindings/python/bt2/bt2/native_btnotifiter.i
index 8963ec993c307ab4180eabac23dd519181bb30df..320e2e95c781417af2c80b6789cee4b6ae1ee2d2 100644
(file)
--- a/
bindings/python/bt2/bt2/native_btnotifiter.i
+++ b/
bindings/python/bt2/bt2/native_btnotifiter.i
@@
-62,10
+62,10
@@
static PyObject *bt_py3_get_user_component_from_user_notif_iter(
priv_notif_iter);
PyObject *py_comp;
-
assert
(priv_comp);
+
BT_ASSERT
(priv_comp);
py_comp = bt_private_component_get_user_data(priv_comp);
bt_put(priv_comp);
-
assert
(py_comp);
+
BT_ASSERT
(py_comp);
/* Return new reference */
Py_INCREF(py_comp);
This page took
0.029596 seconds
and
4
git commands to generate.