예제 #1
0
 public StrippedOptionletAdapter(StrippedOptionletBase stripper) : this(NQuantLibcPINVOKE.new_StrippedOptionletAdapter(StrippedOptionletBase.getCPtr(stripper)), true)
 {
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(StrippedOptionletBase obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }