public Result CreateTimer(SWIGTYPE_p_TIMERELAPSED_CALLBACK timercbk, uint interval, bool autoreset, SWIGTYPE_p_void user, SWIGTYPE_p_p_Timer tmr) { Result ret = new Result(ISMathPINVOKE.EnginePtr_CreateTimer(swigCPtr, SWIGTYPE_p_TIMERELAPSED_CALLBACK.getCPtr(timercbk), interval, autoreset, SWIGTYPE_p_void.getCPtr(user), SWIGTYPE_p_p_Timer.getCPtr(tmr)), true); if (ISMathPINVOKE.SWIGPendingException.Pending) { throw ISMathPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }