You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@alexlin0 Repeating the test with a member of type Trick::MonteRun::ExitStatus does not result in an error. The generated wrapper code is different as well.
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_er7_utils__Integration__Technique, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '""Sandbox_technique_set""', argument ""2"" of type '""er7_utils::Integration::Technique""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference ""in method '""Sandbox_technique_set""', argument ""2"" of type '""er7_utils::Integration::Technique""'");
} else {
er7_utils::Integration::Technique * temp = reinterpret_cast< er7_utils::Integration::Technique * >(argp2);
arg2 = *temp;
if (SWIG_IsNewObj(res2)) delete temp;
}
int ret ;
ret = typemap_in_scalar<Trick::MonteRun::ExitStatus >( arg2 , obj1 , "Sandbox_status_set") ;
if ( ret != 0 ) {
SWIG_exception_fail(SWIG_TypeError,"Right hand side could not be converted proper scalar type");
}
S_define
input.py
Result
The text was updated successfully, but these errors were encountered: