public PDescriptor(PDescriptor other) : this(PapillonPINVOKE.new_PDescriptor__SWIG_3(PDescriptor.getCPtr(other)), true) { if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
public void AddDescriptor(PDescriptor descriptor) { PapillonPINVOKE.PDescription_AddDescriptor(swigCPtr, PDescriptor.getCPtr(descriptor)); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PDescriptor obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }