delphvia3
Delete a physical via
Synopsys
#include "mph.h" int delphvia(ptfig, ptvia) phfig_list ∗ptfig; phvia_list ∗ptvia;
Parameters
ptfig
|
Pointer to the figure in which the via should be deleted |
|---|---|
ptvia
|
Pointer to the via to be deleted. |
Overview
delphvia delete the via pointed to by ptvia in the figure pointed to by ptfig. The list consistency is maintainded, and the space freed.
Return value
delphvia returns 1 if the via has been deleted, 0 if no such via exists in the list.
Examples
#include "mph.h"
char ∗was_existing(ptfig, ptvia)
phfig_list ∗ptfig;
phvia_list ∗ptvia;
{
/∗ if only one exists, it's this one ∗/
return delphvia(ptfig, ptvia) ? "you just killed it!"
: "wasn't here anyway";
}
Releases
4 releases since Debian 7 (Wheezy); the text changed 1 time.