dellores − delete a logical resistor
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 AT asim DOT lip6 DOT fr
#include "mlo.h"
int dellores(ptfig,ptres)
lofig_list ∗ptfig ;
lores_list ∗ptres ;
ptfig |
Pointer to the figure in which the resistor should be deleted |
||
ptres |
Pointer to the resistor to be deleted. |
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.
dellores returns 1 if the resistor has been deleted, 0 if the resistor pointer does not exists in the list.
#include "mlo.h"
char ∗was_existing(lofig_list ∗ptfig,lores_list ∗ptres)
{
return dellores(ptfig,ptres) ? "you just killed it!" : "wasn’t here anyway" ;
}
mbk(1), lofig(3), lores(3), addlores(3).
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.