lib: strictly type function return status enumerations
[babeltrace.git] / src / bindings / python / bt2 / bt2 / native_bt_component.i
index 33b3a7f637f6ec28085f118a8d12a2d239c629cb..ae44579b557eafaf54817e584f2bf73d9d598b92 100644 (file)
@@ -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);
        }
 }
This page took 0.024243 seconds and 4 git commands to generate.