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