|
NAMEflattenlofig - flatten a instance in a logical figure See the file man1/alc_origin.1. SYNOPSIS#include "mlo.h" void flattenlofig(ptfig, insname, concat) lofig_list ∗ptfig; char ∗insname; char concat; PARAMETERSDESCRIPTIONflattenlofig flattens the instance called insname in
the figure pointed to by ptfig. Flattening means incorporating the
contents of the instance in the figure and removing it from its instance
list.
ERRORSNo errors can directly result from a call to flattenlofig, but since it uses many other mbk functions, it may be an error starting point. EXAMPLE
#include "mlo.h"
void flatten_na2_y_s(ptfig)
lofig_list ∗ptfig;
{
loins_list ∗pt;
for (pt = ptfig->LOINS; pt; pt = pt->NEXT) /∗ scan instance list ∗/
if (!strcmp(pt->FIGNAME, "na2_y"))
flattenlofig(ptfig, pt->INSNAME, NO);
}
SEE ALSOmbk(1), mbkenv(3), lofig(3), addlofig(3), getlofig(3), dellofig(3), loadlofig(3), savelofig(3), rflattenlofig(3), MBK_SEPAR(1). See the file man1/alc_bug_report.1.
|