Custom heap memory allocator. More...
Data Fields | |
| GLFWallocatefun | allocate |
| GLFWreallocatefun | reallocate |
| GLFWdeallocatefun | deallocate |
| void * | user |
This describes a custom heap memory allocator for GLFW. To set an allocator, pass it to glfwInitAllocator before initializing the library.
| GLFWallocatefun GLFWallocator::allocate |
The memory allocation function. See GLFWallocatefun for details about allocation function.
| GLFWreallocatefun GLFWallocator::reallocate |
The memory reallocation function. See GLFWreallocatefun for details about reallocation function.
| GLFWdeallocatefun GLFWallocator::deallocate |
The memory deallocation function. See GLFWdeallocatefun for details about deallocation function.
| void* GLFWallocator::user |
The user pointer for this custom allocator. This value will be passed to the allocator functions.
Last update on Fri Feb 23 2024 for GLFW 3.4.0