Code Examples.
Code Examples.
Here the allocation and deallocation of the memory is shown. These are very simple operations and very similar to malloc() and free() system calls.
ClCharT *pStr = NULL;
if(pStr == NULL)
{
}
{
}
ClUint32T ClRcT
Clovis return code type.
Definition: clCommon.h:168
#define CL_OK
Every thing is OK.
Definition: clCommonErrors.h:68
void clHeapFree(CL_IN ClPtrT pAddress)
Frees a pre-allocated memory.
ClPtrT clHeapAllocate(CL_IN ClUint32T size)
Allocates memory of the requested size.