<< Previous | Next >>

pfree_fast

xmem void pfree_fast( Pool_t * p, void * e );

Description

Free an element that was previously obtained via palloc().

This is an assembler-only version of pfree().

*** Do _not_ call this function from C. ***

pfree_fast does not perform any IPSET protection or parameter validation. pfree_fast is a xmem function. The parameters must be passed in machine registers.

Registers

Parameters in IX, DE respectively
Trashes BC, DE, HL

EXAMPLE

   

ld ix,my_pool
ld de,(element_addr)
lcall pfree_fast

Parameters

p
Pool handle structure, as previously passed to pool_alloc()or palloc_fast. This must be in the IX register.

e
Element to free, which was returned from palloc(). This must be in the DE register.

Return value

None

Library

POOL.LIB

See Also

pool_init, palloc_fast, pavail_fast, pxfree_fast


Dynamic C Functions << Previous | Next >> rabbit.com