public GvValue AllocCalculationHandler(int main_id, GvCalc calc, GvRun run, int singleport) { global::System.IntPtr cPtr = C4dApiPINVOKE.GvNode_AllocCalculationHandler(swigCPtr, main_id, GvCalc.getCPtr(calc), GvRun.getCPtr(run), singleport); GvValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new GvValue(cPtr, false); return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GvValue obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }