private void setitem(int index, Lock val) { colaPINVOKE.ColaLocks_setitem(swigCPtr, index, Lock.getCPtr(val)); if (colaPINVOKE.SWIGPendingException.Pending) { throw colaPINVOKE.SWIGPendingException.Retrieve(); } }
public void Insert(int index, Lock x) { colaPINVOKE.ColaLocks_Insert(swigCPtr, index, Lock.getCPtr(x)); if (colaPINVOKE.SWIGPendingException.Pending) { throw colaPINVOKE.SWIGPendingException.Retrieve(); } }
public void Add(Lock x) { colaPINVOKE.ColaLocks_Add(swigCPtr, Lock.getCPtr(x)); if (colaPINVOKE.SWIGPendingException.Pending) { throw colaPINVOKE.SWIGPendingException.Retrieve(); } }
public static ColaLocks Repeat(Lock value, int count) { IntPtr cPtr = colaPINVOKE.ColaLocks_Repeat(Lock.getCPtr(value), count); ColaLocks ret = (cPtr == IntPtr.Zero) ? null : new ColaLocks(cPtr, true); if (colaPINVOKE.SWIGPendingException.Pending) { throw colaPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }