Пример #1
0
 public RulerPtr(RulerPtr rhs) : this(Interop.Ruler.NewRulerPtrPtr(RulerPtr.getCPtr(rhs)), true)
 {
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #2
0
        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);
        }
Пример #3
0
 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);
 }