1DELPHCON(3) MBK PHYSICAL FUNCTIONS DELPHCON(3)
2
3
4
6 delphcon - delete a physical connector
7
9 #include "mph.h"
10 int delphcon(ptfig, ptcon)
11 phfig_list ∗ptfig;
12 phcon_list ∗ptcon;
13
15 ptfig Pointer to the figure in which the connector should
16 be deleted
17
18 ptcon Pointer to the connector to be deleted.
19
21 delphcon delete the connector pointed to by ptcon in the figure pointed
22 to by ptfig. The list and index consistency is maintainded, and the
23 space freed.
24
26 delphcon returns 1 if the connector has been deleted, 0 if no such con‐
27 nector exists in the list.
28
30 #include "mph.h"
31 char ∗was_existing(ptfig, ptcon)
32 phfig_list ∗ptfig;
33 phcon_list ∗ptcon;
34 {
35 /∗ if only one exists, it's this one ∗/
36 return delphcon(ptfig, ptcon) ? "you just killed it!0
37 : "wasn't here anyway0;
38 }
39
41 mbk(1), phfig(3), phcon(3), addphcon(3), getphcon(3).
42
43
44
45
46
47
48ASIM/LIP6 October 1, 1997 DELPHCON(3)