public class RPmallocAllocator
extends java.lang.Object
implements org.lwjgl.system.MemoryUtil.MemoryAllocator
MemoryUtil.MemoryAllocator implementation using the rpmalloc library.| Constructor and Description |
|---|
RPmallocAllocator() |
| Modifier and Type | Method and Description |
|---|---|
long |
aligned_alloc(long alignment,
long size) |
void |
aligned_free(long ptr) |
long |
calloc(long num,
long size) |
void |
free(long ptr) |
long |
getAlignedAlloc() |
long |
getAlignedFree() |
long |
getCalloc() |
long |
getFree() |
long |
getMalloc() |
long |
getRealloc() |
long |
malloc(long size) |
long |
realloc(long ptr,
long size) |
public long getMalloc()
getMalloc in interface org.lwjgl.system.MemoryUtil.MemoryAllocatorpublic long getCalloc()
getCalloc in interface org.lwjgl.system.MemoryUtil.MemoryAllocatorpublic long getRealloc()
getRealloc in interface org.lwjgl.system.MemoryUtil.MemoryAllocatorpublic long getFree()
getFree in interface org.lwjgl.system.MemoryUtil.MemoryAllocatorpublic long getAlignedAlloc()
getAlignedAlloc in interface org.lwjgl.system.MemoryUtil.MemoryAllocatorpublic long getAlignedFree()
getAlignedFree in interface org.lwjgl.system.MemoryUtil.MemoryAllocatorpublic long malloc(long size)
malloc in interface org.lwjgl.system.MemoryUtil.MemoryAllocatorpublic long calloc(long num,
long size)
calloc in interface org.lwjgl.system.MemoryUtil.MemoryAllocatorpublic long realloc(long ptr,
long size)
realloc in interface org.lwjgl.system.MemoryUtil.MemoryAllocatorpublic void free(long ptr)
free in interface org.lwjgl.system.MemoryUtil.MemoryAllocatorpublic long aligned_alloc(long alignment,
long size)
aligned_alloc in interface org.lwjgl.system.MemoryUtil.MemoryAllocatorpublic void aligned_free(long ptr)
aligned_free in interface org.lwjgl.system.MemoryUtil.MemoryAllocatorCopyright LWJGL. All Rights Reserved. License terms.