A structure describing one memory block request. Used in bulk operations. More...
Public Attributes | |
void ** | chunk |
A pointer to a pointer where the address of the new block is stored. | |
uinta | len |
The size (in bytes) of the memory block requested. | |
A structure describing one memory block request. Used in bulk operations.
Note that chunk is a pointer to a pointer. The address of the new memory block isn't saved in the MDXShortMalloc structure, it's stored in the pointer pointed to by MDXShortMalloc::chunk.
An array of these is used by MDXPool::malloc(uinta count, MDXShortMalloc *reqs, uinta flags) for multiple memory requests where all the blocks have the same flags.
Note that throughout this API documentation the type uinta means an unsigned integer of the same size as a void pointer.