Function libCZI_AllocateMemory#
Defined in File libCZIApi.h
Function Documentation#
-
LibCZIApiErrorCode libCZI_AllocateMemory(std::uint64_t size, void **data)#
Allocate memory of the specified size.
- Parameters:
size – The size of the memory block to be allocated in bytes.
data – [out] If successful, a pointer to the allocated memory is put here. The memory must be freed using ‘libCZI_Free’.
- Returns:
An error-code indicating success or failure of the operation.