projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Always evaluate BT_ASSERT(); add BT_ASSERT_DBG() for debug mode only
[babeltrace.git]
/
src
/
bindings
/
python
/
bt2
/
bt2
/
native_bt_message_iterator.i.h
diff --git
a/src/bindings/python/bt2/bt2/native_bt_message_iterator.i.h
b/src/bindings/python/bt2/bt2/native_bt_message_iterator.i.h
index 76b2c876d26a03bbd2d42d15d633c318d4a6be1b..deb149cfafd1d132eb655e472aebb222da0d6f74 100644
(file)
--- a/
src/bindings/python/bt2/bt2/native_bt_message_iterator.i.h
+++ b/
src/bindings/python/bt2/bt2/native_bt_message_iterator.i.h
@@
-66,9
+66,9
@@
static PyObject *bt_bt2_get_user_component_from_user_msg_iter(
bt_self_component *self_component = bt_self_message_iterator_borrow_component(self_message_iterator);
PyObject *py_comp;
bt_self_component *self_component = bt_self_message_iterator_borrow_component(self_message_iterator);
PyObject *py_comp;
- BT_ASSERT(self_component);
+ BT_ASSERT
_DBG
(self_component);
py_comp = bt_self_component_get_data(self_component);
py_comp = bt_self_component_get_data(self_component);
- BT_ASSERT(py_comp);
+ BT_ASSERT
_DBG
(py_comp);
/* Return new reference */
Py_INCREF(py_comp);
/* Return new reference */
Py_INCREF(py_comp);
This page took
0.028932 seconds
and
4
git commands to generate.