1DELLOINS(3) MBK LOGICAL FUNCTIONS DELLOINS(3)
2
3
4
6 delloins - delete a logical instance
7
9 #include "mlo.h"
10 int delloins(ptfig, insname)
11 lofig_list ∗ptfig;
12 char ∗insname;
13
15 ptfig Pointer to the figure in which the instance should
16 be deleted
17
18 insname Name of the instance to be deleted.
19
21 delloins delete the instance called insname in the figure pointed to by
22 ptfig. This instance is warrantied to be unique, because its name is an
23 identifier at the given hierarchical level. The list consistency is
24 maintainded, and the space freed. The instance connectors are also
25 freed, since if the instance disappear, no more connections can occur
26 on it.
27
29 delloins returns 1 if the instance has been deleted, 0 if no such
30 instance exists in the list.
31
33 #include "mlo.h"
34 char ∗was_existing(ptfig, insname)
35 lofig_list ∗ptfig;
36 char ∗insname;
37 {
38 return delloins(ptfig, insname) ? "you just killed it!"
39 : "wasn't here anyway";
40 }
41
43 mbk(1), lofig(3), loins(3), addloins(3), getloins(3).
44
45
46
47
48
49
50ASIM/LIP6 October 1, 1997 DELLOINS(3)