Fixed libsigrok

This commit is contained in:
2026-11-05 08:59:08 +01:00
parent ab662b55f5
commit 3afc26fdd3
6 changed files with 314 additions and 0 deletions
@@ -0,0 +1,12 @@
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