projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Standardize `!ptr` i/o `ptr == NULL`, `ptr` i/o `ptr != NULL`
[babeltrace.git]
/
src
/
bindings
/
python
/
bt2
/
bt2
/
native_bt_trace_class.i
diff --git
a/src/bindings/python/bt2/bt2/native_bt_trace_class.i
b/src/bindings/python/bt2/bt2/native_bt_trace_class.i
index 57166bc9a3e944e1ae1cf11057175d1862263930..fd48deebdb32b38562a2d247d1514c604db1e6c1 100644
(file)
--- a/
src/bindings/python/bt2/bt2/native_bt_trace_class.i
+++ b/
src/bindings/python/bt2/bt2/native_bt_trace_class.i
@@
-41,7
+41,7
@@
trace_class_destroyed_listener(const bt_trace_class *trace_class, void *py_calla
}
py_res = PyObject_CallFunction(py_callable, "(O)", py_trace_class_ptr);
- if (py_res
!= NULL
) {
+ if (py_res) {
BT_ASSERT(py_res == Py_None);
} else {
loge_exception();
This page took
0.027316 seconds
and
4
git commands to generate.