delphref - delete a physical reference
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Université Pierre et Marie CURIE, in Paris, France.
Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users AT asim DOT lip6 DOT fr
#include "mph.h"
int delphref(ptfig, ptref)
phfig_list ∗ptfig;
phref_list ∗ptref;
ptfig |
Pointer to the figure in which the reference should be deleted |
||
ptref |
Pointer to the reference to be deleted. |
delphref delete the reference pointed to by ptref in the figure pointed to by ptfig. The list consistency is maintainded, and the space freed.
delphref returns 1 if the reference has been deleted, 0 if no such reference exists in the list.
#include "mph.h"
char ∗was_existing(ptfig, ptref)
phfig_list ∗ptfig;
phref_list ∗ptref;
{
/∗ if only one exists, it’s this one ∗/
return delphref(ptfig, ptref) ? "you just killed it!"
: "wasn’t here anyway";
}
mbk(1), phfig(3), phref(3), addphref(3), getphref(3).
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.