1.2.5.2.16 TCPIP_MAC_HEAP_FreeF Type

C

typedef size_t (* TCPIP_MAC_HEAP_FreeF)(TCPIP_MAC_HEAP_HANDLE heapH, const void* pBuff);

Description

Memory Allocation Function: typedef size_t (*TCPIP_MAC_HEAP_FreeF)(TCPIP_MAC_HEAP_HANDLE heapH, const void* pBuff);

This free style function is used by the MAC to free allocated memory.

Returns

  • Non-zero number - If the allocation request succeeded.

  • 0 - If the allocation request failed.

Remarks

The debug version adds the module identifier and source file line number.