The Complete SPRLIB & ANNLIB

free_unit

- frees a UNIT structure allocated using malloc_unit

SYNOPSIS

void free_unit (Ptr)

ARGUMENTS

UNIT *Ptr Pointer to a UNIT structure.

RETURNS

Nothing.

FUNCTION

Frees the memory block pointed to by Ptr and returns the memory to the allocation pool by putting it in front of the linked list of free UNIT structures - see STOCK-variables.

SEE ALSO

malloc_unit, free_net, free_layer, free_map, free_unit_value, free_link, free_weight, free_weight_value

This document was generated using api2html on Thu Mar 5 09:00:00 MET DST 1998