delloself.3alc - Man Page

delete a logical inductor

Synopsis

#include "mlo.h"

int delloself(ptfig,ptself)
lofig_list ∗ptfig ;
loself_list ∗ptself ;

Parameters

ptfig

Pointer to the figure in which the inductor should be deleted

ptself

Pointer to the inductor to be deleted.

Description

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 disappear, no more connections can occur on it.

Return Value

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

Example

#include "mlo.h"

char ∗was_existing(lofig_list ∗ptfig,loself_list ∗ptself)
{
  return delloself(ptfig,ptself) ? "you just killed it!" : "wasn't here anyway" ; 
}

See Also

mbk(1), lofig(3), loself(3), addloself(3).

Referenced By

addloself.3alc(3), getloself.3alc(3), loself.3alc(3), setloself.3alc(3).

August 14, 2002 ASIM/LIP6 MBK LOGICAL FUNCTIONS