openHiTLS API openHiTLS 0.1.0-Alpha1

◆ BSL_SAL_Realloc()

void * BSL_SAL_Realloc ( void *  addr,
uint32_t  newSize,
uint32_t  oldSize 
)

Memory expansion.

Memory expansion function.

Attention
None.
Parameters
addr[IN] Original memory address.
newSize[IN] Extended memory size.
oldSize[IN] Memory size before expansion.
Return values
void*indicates successful, the extended memory address is returned.
NULLindicates failed, return NULL.