diff '--color=auto' -ur libsigrok-f06f788/bindings/python/sigrok/core/classes.i ../libsigrok-f06f788/bindings/python/sigrok/core/classes.i --- libsigrok-f06f788/bindings/python/sigrok/core/classes.i 2024-10-20 13:10:56.000000000 -0700 +++ ../libsigrok-f06f788/bindings/python/sigrok/core/classes.i 2026-06-09 18:27:00.993413702 -0700 @@ -85,7 +85,7 @@ if (!GLib) { fprintf(stderr, "Import of gi.repository.GLib failed.\n"); #if PY_VERSION_HEX >= 0x03000000 - return nullptr; + return 0; #else return; #endif