public SWIGTYPE_p_Gaussian1dModel __deref__() { global::System.IntPtr cPtr = NQuantLibcPINVOKE.Gaussian1dModel___deref__(swigCPtr); SWIGTYPE_p_Gaussian1dModel ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Gaussian1dModel(cPtr, false); if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_Gaussian1dModel obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }