projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bt2: assign non-const version of field_class_variant_option_borrow_user_attributes...
[babeltrace.git]
/
src
/
bindings
/
python
/
bt2
/
bt2
/
native_bt_component.i
diff --git
a/src/bindings/python/bt2/bt2/native_bt_component.i
b/src/bindings/python/bt2/bt2/native_bt_component.i
index 33b3a7f637f6ec28085f118a8d12a2d239c629cb..ae44579b557eafaf54817e584f2bf73d9d598b92 100644
(file)
--- a/
src/bindings/python/bt2/bt2/native_bt_component.i
+++ b/
src/bindings/python/bt2/bt2/native_bt_component.i
@@
-77,7
+77,7
@@
* we reflect that here.
*/
%typemap(argout) void *user_data {
* we reflect that here.
*/
%typemap(argout) void *user_data {
- if (PyLong_AsLong($result) ==
BT_SELF_COMPONENT
_STATUS_OK) {
+ if (PyLong_AsLong($result) ==
__BT_FUNC
_STATUS_OK) {
Py_INCREF($1);
}
}
Py_INCREF($1);
}
}
This page took
0.023205 seconds
and
4
git commands to generate.