python: Apply typemap for VariantBase to VariantContainerBase.
Fixes #1480.
This commit is contained in:
parent
f0362f595a
commit
8491cf7cad
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue