stFixedMemFree Function
Declaration:
BOOL stFixedMemFree(
  PVOID MemoryPool,
  PVOID Address
);
Parameters:
MemoryPool

Address of the memory pool.

Address

Address of the memory block to be released.

Return value:

TRUE on success or FALSE on failure.

Description:

This function releases a memory block previously allocated by the stFixedMemAlloc function. It does not set the last error code upon failure. Access to fixed-size memory is not internally synchronized; if thread safety is required, it must be implemented externally.

This function will be excluded from compilation if fixed-size memory management functions are disabled by setting ST_USE_FIXMEM to 0.

Version:1.0
Header file:ST_FixMem.h (include ST_API.h)
See also: BOOL, FALSE, fixed size memory pool initialization example, memory allocation example, PVOID, ST_USE_FIXMEM, stFixedMemAlloc, TRUE
SpaceShadow documentation