diff --git a/bindings/python/sigrok/core/classes.i b/bindings/python/sigrok/core/classes.i index a00efff2..5c5cb3b3 100644 --- a/bindings/python/sigrok/core/classes.i +++ b/bindings/python/sigrok/core/classes.i @@ -112,6 +112,9 @@ typedef guint pyg_flags_type; g_free(value); } +/* Use the same typemap above for Glib::VariantContainerBase */ +%apply Glib::VariantBase { Glib::VariantContainerBase } + /* Map from callable PyObject to LogCallbackFunction */ %typecheck(SWIG_TYPECHECK_POINTER) sigrok::LogCallbackFunction { $1 = PyCallable_Check($input);