Allocate and track memory
dip_Error dip_MemoryNew( pointer, size, resources )
Allocates a chunk of memory, and adds a reference to the chunk to the list of tracked resources.
Data type | Name | Description |
void ** | pointer | pointer to the memory chunk pointer |
size_t | size | size of the memory chunk in bytes |
dip_Resources | resources | Resources tracking structure. See ResourcesNew |
MemoryReallocate, MemoryFree, MemoryFunctionsSet
DIPlib on-line documentation | Function reference | Global function index