X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=src%2Fbindings%2Fpython%2Fbt2%2Fbt2%2Fnative_bt_component.i;h=ae44579b557eafaf54817e584f2bf73d9d598b92;hp=33b3a7f637f6ec28085f118a8d12a2d239c629cb;hb=d24d56638469189904fb6ddbb3c725817b3e9417;hpb=15caa1ca4fac30bd196602bd136e48fda3892de2 diff --git a/src/bindings/python/bt2/bt2/native_bt_component.i b/src/bindings/python/bt2/bt2/native_bt_component.i index 33b3a7f6..ae44579b 100644 --- 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 { - if (PyLong_AsLong($result) == BT_SELF_COMPONENT_STATUS_OK) { + if (PyLong_AsLong($result) == __BT_FUNC_STATUS_OK) { Py_INCREF($1); } }