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