Пример #1
0
 public void GetData(SWIGTYPE_p_p_void data, SWIGTYPE_p_Int size, bool release)
 {
     C4dApiPINVOKE.MemoryFileStruct_GetData__SWIG_1(swigCPtr, SWIGTYPE_p_p_void.getCPtr(data), SWIGTYPE_p_Int.getCPtr(size), release);
     if (C4dApiPINVOKE.SWIGPendingException.Pending)
     {
         throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #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);
        }
Пример #3
0
        public SWIGTYPE_p_void GetMemory(int id, SWIGTYPE_p_Int count)
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.BaseContainer_GetMemory__SWIG_1(swigCPtr, id, SWIGTYPE_p_Int.getCPtr(count));
            SWIGTYPE_p_void       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false);

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #4
0
        public SWIGTYPE_p_void GetMemoryAndRelease(SWIGTYPE_p_Int count)
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.GeData_GetMemoryAndRelease(swigCPtr, SWIGTYPE_p_Int.getCPtr(count));
            SWIGTYPE_p_void       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false);

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #5
0
        public bool ReadMemory(SWIGTYPE_p_p_void data, SWIGTYPE_p_Int size)
        {
            bool ret = C4dApiPINVOKE.HyperFile_ReadMemory(swigCPtr, SWIGTYPE_p_p_void.getCPtr(data), SWIGTYPE_p_Int.getCPtr(size));

            return(ret);
        }
Пример #6
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_Int obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Пример #7
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);
        }