Esempio n. 1
0
 private void setitem(int index, Resize val)
 {
     colaPINVOKE.ColaResizes_setitem(swigCPtr, index, Resize.getCPtr(val));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
 public void Insert(int index, Resize x)
 {
     colaPINVOKE.ColaResizes_Insert(swigCPtr, index, Resize.getCPtr(x));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 3
0
 public void Add(Resize x)
 {
     colaPINVOKE.ColaResizes_Add(swigCPtr, Resize.getCPtr(x));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 4
0
        public static ColaResizes Repeat(Resize value, int count)
        {
            IntPtr      cPtr = colaPINVOKE.ColaResizes_Repeat(Resize.getCPtr(value), count);
            ColaResizes ret  = (cPtr == IntPtr.Zero) ? null : new ColaResizes(cPtr, true);

            if (colaPINVOKE.SWIGPendingException.Pending)
            {
                throw colaPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }