Backported fixes

This commit is contained in:
Arnaud Diederen
2020-03-09 13:58:30 +01:00
parent 36c6f1ff53
commit fe7d9fdb40
9 changed files with 62 additions and 18 deletions
+13
View File
@@ -31,6 +31,19 @@ if ( __argcnt == 2 )
}
}
""")),
],
"SwigDirector_IDP_Hooks::ev_set_idp_options" : [
(
"repl_text",
(
"obj2 = SWIG_NewPointerObj(SWIG_as_voidptr(value), SWIGTYPE_p_void, 0 );",
(
"obj2 = new_PyObject_from_idpopt_value(value_type, value);",
" if ( ((PyObject *) obj2) == nullptr )",
" Swig::DirectorException::raise(\"Unknown 'value_type'\");",
),
),
),
],
}