- alloc_block
void* function(size_t block_size) alloc_block;
Undocumented in source.
- free_block
void function(void* block_pointer, size_t block_current_size) free_block;
Undocumented in source.
- shrink_block
void* function(void* block_pointer, size_t block_current_size, size_t block_smaller_size) shrink_block;
Undocumented in source.
- struct_size
uint struct_size;
Undocumented in source.
@struct dWorldStepMemoryFunctionsInfo @brief World stepping memory manager descriptor structure
This structure is intended to define the functions of memory manager to be used with world stepping functions.
@c struct_size should be assigned the size of the structure
@c alloc_block is a function to allocate memory block of given size.
@c shrink_block is a function to shrink existing memory block to a smaller size. It must preserve the contents of block head while shrinking. The new block size is guaranteed to be always less than the existing one.
@c free_block is a function to delete existing memory block.
@ingroup init @see dWorldSetStepMemoryManager