X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fbindings%2Fpython%2Fbt2%2Fbt2%2Fnative_bt_component.i;h=ae44579b557eafaf54817e584f2bf73d9d598b92;hb=d24d56638469189904fb6ddbb3c725817b3e9417;hp=33b3a7f637f6ec28085f118a8d12a2d239c629cb;hpb=d6bb425cb358e7b0db1873209e40a7d3cd7b5905;p=babeltrace.git 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); } }