Scroll to navigation

DELLORES(3) MBK LOGICAL FUNCTIONS DELLORES(3)

NAME

dellores - delete a logical resistor

ORIGIN

This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Université Pierre et Marie CURIE, in Paris, France.

Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr

SYNOPSYS

#include "mlo.h"
int dellores(ptfig,ptres)
lofig_list ∗ptfig ;
lores_list ∗ptres ;

PARAMETERS

Pointer to the figure in which the resistor should be deleted
Pointer to the resistor to be deleted.

DESCRIPTION

dellores delete the resistor pointed to by ptres in the figure pointed to by ptfig. The list consistency is maintainded, and the space freed. The resistor connectors are also freed, since if the resistor disapear, no more connections can occur on it.

RETURN VALUE

dellores returns 1 if the resistor has been deleted, 0 if the resistor pointer does not exists in the list.

EXAMPLE

#include "mlo.h"
char ∗was_existing(lofig_list ∗ptfig,lores_list ∗ptres)
{

return dellores(ptfig,ptres) ? "you just killed it!" : "wasn't here anyway" ; }

SEE ALSO

mbk(1), lofig(3), lores(3), addlores(3).

BUG REPORT

This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.

August 14, 2002 ASIM/LIP6