Exemple #1
0
        public bool GetUniqueIDIndex(int idx, SWIGTYPE_p_Int32 id, SWIGTYPE_p_p_Char mem, SWIGTYPE_p_Int bytes)
        {
            bool ret = C4dApiPINVOKE.BaseList2D_GetUniqueIDIndex(swigCPtr, idx, SWIGTYPE_p_Int32.getCPtr(id), SWIGTYPE_p_p_Char.getCPtr(mem), SWIGTYPE_p_Int.getCPtr(bytes));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #2
0
        public bool FindUniqueID(int appid, SWIGTYPE_p_p_Char mem, SWIGTYPE_p_Int bytes)
        {
            bool ret = C4dApiPINVOKE.BaseList2D_FindUniqueID(swigCPtr, appid, SWIGTYPE_p_p_Char.getCPtr(mem), SWIGTYPE_p_Int.getCPtr(bytes));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_Char obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }