public RulerPtr(RulerPtr rhs) : this(Interop.Ruler.NewRulerPtrPtr(RulerPtr.getCPtr(rhs)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
public RulerPtr Assign(Ruler rhs) { RulerPtr ret = new RulerPtr(Interop.Ruler.RulerPtrAssign(swigCPtr, Ruler.getCPtr(rhs)), false); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(RulerPtr obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }