Memory Divider X
MDX = malloc() + free() + Garbage Collection
 All Classes Namespaces Functions Variables Pages
Public Attributes | List of all members
MemoryDividerX::MDXLongMalloc Struct Reference

A structure describing a single memory block request and its flags. Used in bulk operations. More...

Inheritance diagram for MemoryDividerX::MDXLongMalloc:
MemoryDividerX::MDXShortMalloc

Public Attributes

uinta flags
 The flags associated with the memory request.
 
- Public Attributes inherited from MemoryDividerX::MDXShortMalloc
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.
 

Detailed Description

A structure describing a single memory block request and its flags. Used in bulk operations.

An array of these is used by MDXPool::malloc(uinta count, MDXLongMalloc *reqs) for multiple memory requests where the blocks have different flags.

Note that throughout this API documentation the type uinta means an unsigned integer of the same size as a void pointer.