private System.IntPtr mallocDEBUG_virtual(System.IntPtr size, string fileName, int line, string className, NxMemoryType type) { return(mallocDEBUG(size, fileName, line, className, type)); }
/// <summary>Allocates size bytes of memory. </summary> /// <param name="size">Number of bytes to allocate. </param> /// <param name="type">A hint about what the memory will be used for. See NxMemoryType. </param> public virtual System.IntPtr malloc(System.IntPtr size, NxMemoryType type) { return(NxUserAllocator_malloc_1_INVOKE(ClassPointer, doSetFunctionPointers, size, type)); }
/// <summary>Allocates size bytes of memory. </summary> /// <param name="size">Number of bytes to allocate. </param> /// <param name="fileName">File which is allocating the memory. </param> /// <param name="line">Line which is allocating the memory. </param> /// <param name="className">Name of the class which is allocating the memory. </param> /// <param name="type">A hint about what the memory will be used for. See NxMemoryType. </param> public virtual System.IntPtr mallocDEBUG(System.IntPtr size, string fileName, int line, string className, NxMemoryType type) { return(NxUserAllocator_mallocDEBUG_1_INVOKE(ClassPointer, doSetFunctionPointers, size, fileName, line, className, type)); }
private extern static System.IntPtr NxUserAllocator_malloc_1_INVOKE(HandleRef classPointer, System.Boolean call_explicit, System.IntPtr size, NxMemoryType type);
private extern static System.IntPtr NxUserAllocator_mallocDEBUG_1_INVOKE(HandleRef classPointer, System.Boolean call_explicit, System.IntPtr size, System.String fileName, System.Int32 line, System.String className, NxMemoryType type);
private System.IntPtr malloc_virtual(System.IntPtr size, NxMemoryType type) { return(malloc(size, type)); }
/// <summary></summary> /// <param name="size">Number of bytes to allocate. </param> /// <param name="type">A hint about what the memory will be used for. See NxMemoryType. </param> public System.IntPtr malloc(System.IntPtr size, NxMemoryType type) { return(NxAllocatorDefault_malloc_INVOKE(ClassPointer, doSetFunctionPointers, size, type)); }