delete a logical inductor
lofig_list *ptfig ;
loself_list *ptself ;
Pointer to the figure in which the inductor should be deleted
Pointer to the inductor to be deleted.
delloself delete the inductor pointed to by ptself in the figure
pointed to by ptfig.
The list consistency is maintainded, and the space freed. The inductor
connectors are also freed, since if the inductor disapear,
no more connections can occur on it.
delloself returns 1 if the inductor has been deleted, 0
if the inductor pointer does not exists in the list.
char *was_existing(lofig_list *ptfig,loself_list *ptself)
return delloself(ptfig,ptself) ? "you just killed it!" : "wasn't here anyway" ;