SDFDELETE(3SDF)

NAME
sdfdelete - functions to delete seadif in-core memory structures.

SYNOPSIS
 void sdfdeletecirport(CIRPORTPTR ccirport);
 void sdfdeletecirinst(CIRINSTPTR cirinst,int recursively);
 /* if recursively == TRUE then remove childcircuit
    if childcircuit->linkcnt becomes zero */
 void sdfdeletenetlist(NETPTR netlist);
 void sdfdeletebuslist(BUSPTR buslist);
 void sdfdeletecircuit(CIRCUITPTR circuit, int recursively);
 void sdfdeletelayout(LAYOUTPTR layout, int recursively);
 void sdfdeletelayport(LAYPORTPTR layport);
 void sdfdeleteslice(SLICEPTR slice, int recursively);
 void sdfdeletelayinst(LAYINSTPTR layinst, intrecursively);
 void sdfdeletewire(WIREPTR wire);

DESCRIPTION
These functions delete in-core seadif data structures. If a seadif datastructure has a linkcnt field then the functions first decrement this count and only if the count becomes 0 the data structure is deleted. The data-structures participating in a hierarchy can be passed the option recursively. If TRUE it means that de data structures that are lower in the hierarchy also must be deleted. (You don't want this parameter to be NIL.)

RETURN VALUE
No return value.

AUTHOR
Paul Stravers, Delft University of Technology. E-mail address is ocean@donau.et.tudelft.nl.

SEE ALSO
The file <libstruct.h>