Example #1
0
        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);
        }
Example #2
0
 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);
 }
Example #3
0
 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;
 }