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