Updates from running the fix-ending-whitespace script.
This commit is contained in:
parent
c81d9add00
commit
2af38a4191
7
Makefile
7
Makefile
|
|
@ -131,16 +131,9 @@ TAGS:
|
||||||
${RM} TAGS
|
${RM} TAGS
|
||||||
find . ${MODULES} ${PROGRAMS} -name "*.[ch]" -maxdepth 1 | xargs etags -o TAGS
|
find . ${MODULES} ${PROGRAMS} -name "*.[ch]" -maxdepth 1 | xargs etags -o TAGS
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
fix-trailing-whitespace:
|
|
||||||
find -name "*.[ch]" | xargs sed -i -e's/\s\+$$//'
|
|
||||||
find -name "*.cpp" | xargs sed -i -e's/\s\+$$//'
|
|
||||||
find -name "*.tcl" | xargs sed -i -e's/\s\+$$//'
|
|
||||||
=======
|
|
||||||
setup-git:
|
setup-git:
|
||||||
git config --local include.path ../.gitconfig
|
git config --local include.path ../.gitconfig
|
||||||
git stash save
|
git stash save
|
||||||
rm .git/index
|
rm .git/index
|
||||||
git checkout HEAD -- "$$(git rev-parse --show-toplevel)"
|
git checkout HEAD -- "$$(git rev-parse --show-toplevel)"
|
||||||
git stash pop
|
git stash pop
|
||||||
>>>>>>> Adding git expanding command.
|
|
||||||
|
|
|
||||||
|
|
@ -256,7 +256,7 @@ calmaExact()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -483,7 +483,7 @@ syntaxerror:
|
||||||
return (calmaSkipTo(CALMA_ENDSTR));
|
return (calmaSkipTo(CALMA_ENDSTR));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -969,7 +969,7 @@ calmaElementSref(filename)
|
||||||
|
|
||||||
return ((def->cd_flags & CDFLATGDS) ? (madeinst ? 1 : 0) : 1);
|
return ((def->cd_flags & CDFLATGDS) ? (madeinst ? 1 : 0) : 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Callback function for determining if a cell has at least one subcell */
|
/* Callback function for determining if a cell has at least one subcell */
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/
|
||||||
bool calmaReadR8();
|
bool calmaReadR8();
|
||||||
bool calmaSkipBytes();
|
bool calmaSkipBytes();
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -180,7 +180,7 @@ calmaReadTransform(ptrans, name)
|
||||||
|
|
||||||
return (TRUE);
|
return (TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -226,7 +226,7 @@ eof:
|
||||||
CalmaReadError("Unexpected EOF.\n");
|
CalmaReadError("Unexpected EOF.\n");
|
||||||
return (FALSE);
|
return (FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -271,7 +271,7 @@ eof:
|
||||||
CalmaReadError("Unexpected EOF.\n");
|
CalmaReadError("Unexpected EOF.\n");
|
||||||
return (FALSE);
|
return (FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -320,7 +320,7 @@ eof:
|
||||||
CalmaReadError("Unexpected EOF.\n");
|
CalmaReadError("Unexpected EOF.\n");
|
||||||
return (FALSE);
|
return (FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -387,7 +387,7 @@ calmaReadR8(pd)
|
||||||
*pd = d;
|
*pd = d;
|
||||||
return (TRUE);
|
return (TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -433,7 +433,7 @@ skipit:
|
||||||
(void) calmaSkipBytes(nbytes - CALMAHEADERLENGTH);
|
(void) calmaSkipBytes(nbytes - CALMAHEADERLENGTH);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -481,7 +481,7 @@ eof:
|
||||||
CalmaReadError("Unexpected EOF.\n");
|
CalmaReadError("Unexpected EOF.\n");
|
||||||
return (FALSE);
|
return (FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -515,7 +515,7 @@ calmaSkipTo(what)
|
||||||
|
|
||||||
return (TRUE);
|
return (TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -184,7 +184,7 @@ calmaReadPoint(p, iscale)
|
||||||
p->p_y /= calmaReadScale2;
|
p->p_y /= calmaReadScale2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -347,7 +347,7 @@ calmaElementBoundary()
|
||||||
DBPlaceCell(use, cifReadCellDef);
|
DBPlaceCell(use, cifReadCellDef);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1006,7 +1006,7 @@ calmaElementText()
|
||||||
/* done with textbody */
|
/* done with textbody */
|
||||||
if (textbody != NULL) freeMagic(textbody);
|
if (textbody != NULL) freeMagic(textbody);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1113,7 +1113,7 @@ calmaReadPath(pathheadpp, iscale)
|
||||||
}
|
}
|
||||||
return (*pathheadpp != NULL);
|
return (*pathheadpp != NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -115,7 +115,7 @@ HashTable calmaDefInitHash;
|
||||||
|
|
||||||
/* Common stuff to ignore */
|
/* Common stuff to ignore */
|
||||||
int calmaElementIgnore[] = { CALMA_ELFLAGS, CALMA_PLEX, -1 };
|
int calmaElementIgnore[] = { CALMA_ELFLAGS, CALMA_PLEX, -1 };
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -326,7 +326,7 @@ calmaParseUnits()
|
||||||
|
|
||||||
return (TRUE);
|
return (TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -386,7 +386,7 @@ CalmaReadError(format, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10)
|
||||||
TxError("Error limit set: Remaining errors will not be reported.\n");
|
TxError("Error limit set: Remaining errors will not be reported.\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -429,7 +429,7 @@ calmaUnexpected(wanted, got)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -478,7 +478,7 @@ calmaRecordName(rtype)
|
||||||
|
|
||||||
return (calmaRecordNames[rtype]);
|
return (calmaRecordNames[rtype]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -146,7 +146,7 @@ HashTable calmaPrefixHash;
|
||||||
/* Imports */
|
/* Imports */
|
||||||
extern time_t time();
|
extern time_t time();
|
||||||
|
|
||||||
|
|
||||||
/* -------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------- */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
@ -238,7 +238,7 @@ static char calmaMapTablePermissive[] =
|
||||||
'x', 'y', 'z', '{', '|', '}', '~', 0, /* x - DEL */
|
'x', 'y', 'z', '{', '|', '}', '~', 0, /* x - DEL */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -348,7 +348,7 @@ CalmaWrite(rootDef, f)
|
||||||
HashKill(&calmaPrefixHash);
|
HashKill(&calmaPrefixHash);
|
||||||
return (good);
|
return (good);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
|
|
@ -912,7 +912,7 @@ calmaProcessDef(def, outf)
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1315,7 +1315,7 @@ calmaWriteUseFunc(use, f)
|
||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -2484,7 +2484,7 @@ calmaWritePaintFunc(tile, cos)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -2648,7 +2648,7 @@ calmaWriteLabelFunc(lab, type, f)
|
||||||
calmaOutRH(4, CALMA_ENDEL, CALMA_NODATA, f);
|
calmaOutRH(4, CALMA_ENDEL, CALMA_NODATA, f);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -2704,7 +2704,7 @@ calmaOutHeader(rootDef, f)
|
||||||
if (CIFCurStyle->cs_flags & CWF_ANGSTROMS) mum = 1e-10;
|
if (CIFCurStyle->cs_flags & CWF_ANGSTROMS) mum = 1e-10;
|
||||||
calmaOutR8(mum, f); /* Meters per database unit */
|
calmaOutR8(mum, f); /* Meters per database unit */
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -2737,7 +2737,7 @@ calmaOutDate(t, f)
|
||||||
calmaOutI2(datep->tm_min, f);
|
calmaOutI2(datep->tm_min, f);
|
||||||
calmaOutI2(datep->tm_sec, f);
|
calmaOutI2(datep->tm_sec, f);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -2917,7 +2917,7 @@ calmaOutR8(d, f)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
12
cif/CIFgen.c
12
cif/CIFgen.c
|
|
@ -3023,7 +3023,7 @@ cifSquareGridFunc(area, op, rows, columns, cut)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -3104,7 +3104,7 @@ cifSrTiles(cifOp, area, cellDef, temps, func, cdArg)
|
||||||
(void) DBSrPaintArea((Tile *) NULL, *temps, &TiPlaneRect,
|
(void) DBSrPaintArea((Tile *) NULL, *temps, &TiPlaneRect,
|
||||||
&CIFSolidBits, func, (ClientData) cdArg);
|
&CIFSolidBits, func, (ClientData) cdArg);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -3503,7 +3503,7 @@ CIFGenLayer(op, area, cellDef, temps, clientdata)
|
||||||
|
|
||||||
return curPlane;
|
return curPlane;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -3621,7 +3621,7 @@ CIFGen(cellDef, area, planes, layers, replace, genAllPlanes, clientdata)
|
||||||
else planes[i] = new[i];
|
else planes[i] = new[i];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -3670,7 +3670,7 @@ cifClipPlane(plane, clip)
|
||||||
DBPaintPlane(plane, &r, CIFEraseTable, (PaintUndoInfo *) NULL);
|
DBPaintPlane(plane, &r, CIFEraseTable, (PaintUndoInfo *) NULL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -3725,7 +3725,7 @@ cifGenClip(area, expanded, clip)
|
||||||
}
|
}
|
||||||
else clip->r_ytop = expanded->r_ytop = area->r_ytop;
|
else clip->r_ytop = expanded->r_ytop = area->r_ytop;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -82,7 +82,7 @@ static CIFLayer *CurCifLayer;
|
||||||
(dst)->r_ybot = (src)->r_ybot * scale; \
|
(dst)->r_ybot = (src)->r_ybot * scale; \
|
||||||
(dst)->r_xtop = (src)->r_xtop * scale; \
|
(dst)->r_xtop = (src)->r_xtop * scale; \
|
||||||
(dst)->r_ytop = (src)->r_ytop * scale;
|
(dst)->r_ytop = (src)->r_ytop * scale;
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
|
|
@ -148,7 +148,7 @@ CIFInitCells()
|
||||||
CIFDummyUse = DBCellNewUse(CIFTotalDef, (char *) NULL);
|
CIFDummyUse = DBCellNewUse(CIFTotalDef, (char *) NULL);
|
||||||
DBSetTrans (CIFDummyUse, &GeoIdentityTransform);
|
DBSetTrans (CIFDummyUse, &GeoIdentityTransform);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -198,7 +198,7 @@ cifHierCleanup()
|
||||||
|
|
||||||
SigEnableInterrupts();
|
SigEnableInterrupts();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -274,7 +274,7 @@ cifHierCopyFunc(tile, cxp)
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -329,7 +329,7 @@ cifHierCellFunc(scx)
|
||||||
&CIFCurStyle->cs_hierLayers, FALSE, TRUE);
|
&CIFCurStyle->cs_hierLayers, FALSE, TRUE);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -370,7 +370,7 @@ cifHierErrorFunc(tile, checkArea)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -453,7 +453,7 @@ cifHierPaintFunc(tile, plane)
|
||||||
CIFTileOps += 1;
|
CIFTileOps += 1;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -492,7 +492,7 @@ cifCheckAndErase(style)
|
||||||
(ClientData) CIFTotalPlanes[i]);
|
(ClientData) CIFTotalPlanes[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -623,7 +623,7 @@ CIFGenSubcells(def, area, output)
|
||||||
CIFHierTileOps += CIFTileOps - oldTileOps;
|
CIFHierTileOps += CIFTileOps - oldTileOps;
|
||||||
UndoEnable();
|
UndoEnable();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -684,7 +684,7 @@ cifHierElementFunc(use, transform, x, y, checkArea)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ---------------------------------------------------------------------------
|
* ---------------------------------------------------------------------------
|
||||||
|
|
@ -744,7 +744,7 @@ cifGrowSliver(tile, area)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -794,7 +794,7 @@ cifHierPaintArrayFunc(tile)
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1081,7 +1081,7 @@ cifHierArrayFunc(scx, output)
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -76,7 +76,7 @@ static int cifTotalHierRects = 0;
|
||||||
global CellDef *CIFErrorDef; /* Definition in which to record errors. */
|
global CellDef *CIFErrorDef; /* Definition in which to record errors. */
|
||||||
global int CIFErrorLayer; /* Index of CIF layer associated with errors.*/
|
global int CIFErrorLayer; /* Index of CIF layer associated with errors.*/
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -212,7 +212,7 @@ CIFPrintStyle(dolist, doforall, docurrent)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -269,7 +269,7 @@ CIFSetStyle(name)
|
||||||
TxError("\"%s\" is not one of the CIF output styles Magic knows.\n", name);
|
TxError("\"%s\" is not one of the CIF output styles Magic knows.\n", name);
|
||||||
CIFPrintStyle(FALSE, TRUE, TRUE);
|
CIFPrintStyle(FALSE, TRUE, TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -346,7 +346,7 @@ CIFNameToMask(name, result, depend)
|
||||||
TxError(".\n");
|
TxError(".\n");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -385,7 +385,7 @@ CIFError(area, message)
|
||||||
DBWFeedbackAdd(area, msg, CIFErrorDef, CIFCurStyle->cs_scaleFactor,
|
DBWFeedbackAdd(area, msg, CIFErrorDef, CIFCurStyle->cs_scaleFactor,
|
||||||
STYLE_PALEHIGHLIGHTS);
|
STYLE_PALEHIGHLIGHTS);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -103,7 +103,7 @@ typedef struct {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
char *cifSubcellId = NULL;
|
char *cifSubcellId = NULL;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -489,7 +489,7 @@ CIFParseStart()
|
||||||
cifCurReadPlanes = cifSubcellPlanes;
|
cifCurReadPlanes = cifSubcellPlanes;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
|
|
@ -827,7 +827,7 @@ cifPaintCurrentFunc(tile, type)
|
||||||
|
|
||||||
return 0; /* To keep the search alive. */
|
return 0; /* To keep the search alive. */
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -882,7 +882,7 @@ CIFParseFinish()
|
||||||
cifCurReadPlanes = cifEditCellPlanes;
|
cifCurReadPlanes = cifEditCellPlanes;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -922,7 +922,7 @@ CIFParseDelete()
|
||||||
CIFSkipToSemi();
|
CIFSkipToSemi();
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -965,7 +965,7 @@ cifParseName()
|
||||||
*bufferp = '\0';
|
*bufferp = '\0';
|
||||||
return buffer;
|
return buffer;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -998,7 +998,7 @@ cifParseUser9()
|
||||||
}
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1063,7 +1063,7 @@ CIFParseCall()
|
||||||
(void) StrDup(&cifSubcellId, (char *) NULL);
|
(void) StrDup(&cifSubcellId, (char *) NULL);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1095,7 +1095,7 @@ cifParseUser91()
|
||||||
(void) StrDup(&cifSubcellId, cifParseName());
|
(void) StrDup(&cifSubcellId, cifParseName());
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1185,7 +1185,7 @@ cifParseUser94()
|
||||||
freeMagic(name);
|
freeMagic(name);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1347,7 +1347,7 @@ cifParseUser95()
|
||||||
freeMagic(name);
|
freeMagic(name);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1395,7 +1395,7 @@ CIFParseUser()
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/
|
||||||
#define HEDGE 0 /* Horizontal edge */
|
#define HEDGE 0 /* Horizontal edge */
|
||||||
#define REDGE 1 /* Rising edge */
|
#define REDGE 1 /* Rising edge */
|
||||||
#define FEDGE -1 /* Falling edge */
|
#define FEDGE -1 /* Falling edge */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -66,7 +66,7 @@ cifLowX(a, b)
|
||||||
return (1);
|
return (1);
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -95,7 +95,7 @@ cifLowY(a, b)
|
||||||
return (1);
|
return (1);
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -157,7 +157,7 @@ cifOrient(edges, nedges, dir)
|
||||||
}
|
}
|
||||||
return (TRUE);
|
return (TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -200,7 +200,7 @@ cifCross(edge, dir, ybot, ytop)
|
||||||
|
|
||||||
return (FALSE);
|
return (FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/
|
||||||
#include "cif/CIFint.h"
|
#include "cif/CIFint.h"
|
||||||
#include "cif/CIFread.h"
|
#include "cif/CIFread.h"
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -147,7 +147,7 @@ CIFParseBox()
|
||||||
DBPaintPlane(cifReadPlane, &r2, CIFPaintTable, (PaintUndoInfo *) NULL);
|
DBPaintPlane(cifReadPlane, &r2, CIFPaintTable, (PaintUndoInfo *) NULL);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -637,7 +637,7 @@ PaintWireList(pointlist, number, width, endcap, plane, ptable, ui)
|
||||||
CIFPaintWirePath(cifpath, width, endcap, plane, ptable, ui);
|
CIFPaintWirePath(cifpath, width, endcap, plane, ptable, ui);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -698,7 +698,7 @@ CIFParseWire()
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -761,7 +761,7 @@ CIFParseLayer()
|
||||||
CIFSkipToSemi();
|
CIFSkipToSemi();
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -173,7 +173,7 @@ CIFReadNameToType(name, newOK)
|
||||||
cifNReadLayers += 1;
|
cifNReadLayers += 1;
|
||||||
return cifNReadLayers-1;
|
return cifNReadLayers-1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -226,7 +226,7 @@ CIFCalmaLayerToCifLayer(layer, datatype, calmaStyle)
|
||||||
/* No luck */
|
/* No luck */
|
||||||
return (-1);
|
return (-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -286,7 +286,7 @@ CIFParseReadLayers(string, mask)
|
||||||
for (string = p; *string == ','; string += 1) /* do nothing */;
|
for (string = p; *string == ','; string += 1) /* do nothing */;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -369,7 +369,7 @@ cifReadStyleInit()
|
||||||
cifCurReadStyle->crs_layers[i] = NULL;
|
cifCurReadStyle->crs_layers[i] = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
|
|
@ -434,7 +434,7 @@ CIFReadTechStyleInit()
|
||||||
cifCurReadOp = NULL;
|
cifCurReadOp = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1001,7 +1001,7 @@ CIFReadTechLine(sectionName, argc, argv)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1246,7 +1246,7 @@ CIFPrintReadStyle(dolist, doforall, docurrent)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1304,7 +1304,7 @@ CIFSetReadStyle(name)
|
||||||
TxError("\"%s\" is not one of the CIF input styles Magic knows.\n", name);
|
TxError("\"%s\" is not one of the CIF input styles Magic knows.\n", name);
|
||||||
CIFPrintReadStyle(FALSE, TRUE, TRUE);
|
CIFPrintReadStyle(FALSE, TRUE, TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -92,7 +92,7 @@ Plane *cifReadPlane; /* Plane into which to paint material
|
||||||
* NULL means no layer command has
|
* NULL means no layer command has
|
||||||
* been seen for the current cell.
|
* been seen for the current cell.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -133,7 +133,7 @@ CIFReadError(char *format, ...)
|
||||||
TxError("Error limit set: Remaining errors will not be reported.\n");
|
TxError("Error limit set: Remaining errors will not be reported.\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
CIFReadWarning(char *format, ...)
|
CIFReadWarning(char *format, ...)
|
||||||
|
|
@ -300,7 +300,7 @@ CIFScaleCoord(cifCoord, snap_type)
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -333,7 +333,7 @@ cifIsBlank(ch)
|
||||||
}
|
}
|
||||||
else return TRUE;
|
else return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -363,7 +363,7 @@ CIFSkipBlanks()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -393,7 +393,7 @@ CIFSkipSep()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -423,7 +423,7 @@ CIFSkipToSemi()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -452,7 +452,7 @@ CIFSkipSemi()
|
||||||
TAKE();
|
TAKE();
|
||||||
CIFSkipBlanks();
|
CIFSkipBlanks();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -498,7 +498,7 @@ CIFParseSInteger(valuep)
|
||||||
*valuep = -(*valuep);
|
*valuep = -(*valuep);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -616,7 +616,7 @@ CIFParsePoint(pointp, iscale)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1135,7 +1135,7 @@ CIFMakeManhattanPath(pathHead, plane, resultTbl, ui)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1184,7 +1184,7 @@ CIFEdgeDirection(first, last)
|
||||||
return CIF_DOWN;
|
return CIF_DOWN;
|
||||||
return CIF_ZERO;
|
return CIF_ZERO;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1287,7 +1287,7 @@ path_inc:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1314,7 +1314,7 @@ CIFFreePath(path)
|
||||||
path = path->cifp_next;
|
path = path->cifp_next;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1340,7 +1340,7 @@ cifCommandError()
|
||||||
CIFSkipToSemi();
|
CIFSkipToSemi();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1370,7 +1370,7 @@ cifParseEnd()
|
||||||
}
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1417,7 +1417,7 @@ cifParseComment()
|
||||||
} while (opens > 0);
|
} while (opens > 0);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1459,7 +1459,7 @@ CIFDirectionToTrans(point)
|
||||||
point->p_x, point->p_y);
|
point->p_x, point->p_y);
|
||||||
return &GeoIdentityTransform;
|
return &GeoIdentityTransform;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1554,7 +1554,7 @@ CIFParseTransform(transformp)
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -311,7 +311,7 @@ CIFSeeLayer(rootDef, area, layer)
|
||||||
}
|
}
|
||||||
UndoEnable();
|
UndoEnable();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -188,7 +188,7 @@ cifTechStyleInit()
|
||||||
CIFCurStyle->cs_layers[i] = NULL;
|
CIFCurStyle->cs_layers[i] = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -332,7 +332,7 @@ okpaint:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
|
|
@ -498,7 +498,7 @@ CIFParseScale(true_scale, expander)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1440,7 +1440,7 @@ cifCheckCalmaNum(str)
|
||||||
|
|
||||||
return (TRUE);
|
return (TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1583,7 +1583,7 @@ cifComputeHalo(style)
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -86,7 +86,7 @@ char *CIFPathPrefix = NULL;
|
||||||
bool CIFHierWriteDisable = FALSE;
|
bool CIFHierWriteDisable = FALSE;
|
||||||
bool CIFArrayWriteDisable = FALSE;
|
bool CIFArrayWriteDisable = FALSE;
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -178,7 +178,7 @@ CIFWrite(rootDef, f)
|
||||||
good = !ferror(f);
|
good = !ferror(f);
|
||||||
return (good);
|
return (good);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -203,7 +203,7 @@ cifWriteInitFunc(def)
|
||||||
def->cd_client = (ClientData) 0;
|
def->cd_client = (ClientData) 0;
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -230,7 +230,7 @@ cifWriteMarkFunc(use)
|
||||||
StackPush((ClientData) use->cu_def, cifStack);
|
StackPush((ClientData) use->cu_def, cifStack);
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -277,7 +277,7 @@ cifOutPreamble(outf, cell)
|
||||||
fprintf(outf,"( @@style : %s );\n", CIFCurStyle->cs_name);
|
fprintf(outf,"( @@style : %s );\n", CIFCurStyle->cs_name);
|
||||||
fprintf(outf,"( @@date : %s );\n", now);
|
fprintf(outf,"( @@date : %s );\n", now);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -328,7 +328,7 @@ cifOut(outf)
|
||||||
cifOutFunc(def, outf);
|
cifOutFunc(def, outf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -450,7 +450,7 @@ cifOutFunc(def, f)
|
||||||
(void) DBCellEnum(def, cifWriteUseFunc, (ClientData) f);
|
(void) DBCellEnum(def, cifWriteUseFunc, (ClientData) f);
|
||||||
fprintf(f, "DF;\n");
|
fprintf(f, "DF;\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -547,7 +547,7 @@ cifWriteUseFunc(use, f)
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -615,7 +615,7 @@ cifWritePaintFunc(tile, f)
|
||||||
CIFRects += 1;
|
CIFRects += 1;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,7 @@ bool cmwWatchButtonUp;
|
||||||
|
|
||||||
bool cmwModified = FALSE;
|
bool cmwModified = FALSE;
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -429,7 +429,7 @@ cmwColor(w, cmd)
|
||||||
else
|
else
|
||||||
TxError("Usage: color [#|next|last|get|rgb]\n");
|
TxError("Usage: color [#|next|last|get|rgb]\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -473,7 +473,7 @@ cmwSave(w, cmd)
|
||||||
}
|
}
|
||||||
if (ok) cmwModified = FALSE;
|
if (ok) cmwModified = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -514,7 +514,7 @@ cmwLoad(w, cmd)
|
||||||
else (void) GrReadCMap(DBWStyleType, (char *) NULL,
|
else (void) GrReadCMap(DBWStyleType, (char *) NULL,
|
||||||
MainMonType, ".", SysLibPath);
|
MainMonType, ".", SysLibPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -130,7 +130,7 @@ char *cmwCurrentColorText = "Color Being Edited";
|
||||||
/* Bounding rectangle for entire window */
|
/* Bounding rectangle for entire window */
|
||||||
|
|
||||||
Rect colorWindowRect = {{0, 1500}, {24000, 17000}};
|
Rect colorWindowRect = {{0, 1500}, {24000, 17000}};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -171,7 +171,7 @@ CMWcreate(window, argc, argv)
|
||||||
CMWloadWindow(window, color);
|
CMWloadWindow(window, color);
|
||||||
return (TRUE);
|
return (TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -200,7 +200,7 @@ CMWdelete(window)
|
||||||
freeMagic((char *) cr);
|
freeMagic((char *) cr);
|
||||||
return (TRUE);
|
return (TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -227,7 +227,7 @@ CMWreposition(window, newScreenArea, final)
|
||||||
WindMove(window, &colorWindowRect);
|
WindMove(window, &colorWindowRect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -353,7 +353,7 @@ CMWredisplay(w, rootArea, clipArea)
|
||||||
|
|
||||||
GrUnlock(w);
|
GrUnlock(w);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -389,7 +389,7 @@ CMWloadWindow(w, color)
|
||||||
/* move the contents of the window so the color bars show */
|
/* move the contents of the window so the color bars show */
|
||||||
WindMove(w, &colorWindowRect);
|
WindMove(w, &colorWindowRect);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@ void cmwUndoStart(), cmwUndoDone();
|
||||||
* of an undo/redo command.
|
* of an undo/redo command.
|
||||||
*/
|
*/
|
||||||
bool cmwColorsChanged[256];
|
bool cmwColorsChanged[256];
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -83,7 +83,7 @@ CMWundoInit()
|
||||||
cmwUndoForw, cmwUndoBack, "color map");
|
cmwUndoForw, cmwUndoBack, "color map");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -116,7 +116,7 @@ cmwUndoBack(up)
|
||||||
(void) GrPutColor(up->cue_color, up->old_r, up->old_g, up->old_b);
|
(void) GrPutColor(up->cue_color, up->old_r, up->old_g, up->old_b);
|
||||||
cmwColorsChanged[up->cue_color] = TRUE;
|
cmwColorsChanged[up->cue_color] = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -153,7 +153,7 @@ cmwUndoColor(color, oldr, oldg, oldb, newr, newg, newb)
|
||||||
up->new_g = newg;
|
up->new_g = newg;
|
||||||
up->new_b = newb;
|
up->new_b = newb;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -178,7 +178,7 @@ cmwUndoStart()
|
||||||
for (i = 0; i < 256; i++)
|
for (i = 0; i < 256; i++)
|
||||||
cmwColorsChanged[i] = FALSE;
|
cmwColorsChanged[i] = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/
|
||||||
#include "utils/netlist.h"
|
#include "utils/netlist.h"
|
||||||
#include "select/select.h"
|
#include "select/select.h"
|
||||||
|
|
||||||
|
|
||||||
/* ---------------------------------------------------------------------------
|
/* ---------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
* CmdAddPath --
|
* CmdAddPath --
|
||||||
|
|
@ -80,7 +80,7 @@ CmdAddPath( w, cmd )
|
||||||
}
|
}
|
||||||
PaAppend(&Path, cmd->tx_argv[1]);
|
PaAppend(&Path, cmd->tx_argv[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Linked-list structure for returning information about arrayed cells */
|
/* Linked-list structure for returning information about arrayed cells */
|
||||||
|
|
||||||
|
|
@ -531,7 +531,7 @@ selGetArrayFunc(selUse, use, trans, arg)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@ struct cmdCornerArea
|
||||||
int cmdDumpFunc();
|
int cmdDumpFunc();
|
||||||
bool cmdDumpParseArgs();
|
bool cmdDumpParseArgs();
|
||||||
#ifdef CALMA_MODULE
|
#ifdef CALMA_MODULE
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1547,7 +1547,7 @@ CmdCif(w, cmd)
|
||||||
(void) fclose(f);
|
(void) fclose(f);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -2204,7 +2204,7 @@ CmdCorner(w, cmd)
|
||||||
DBWAreaChanged(EditCellUse->cu_def, &editBox, DBW_ALLWINDOWS, &maskBits);
|
DBWAreaChanged(EditCellUse->cu_def, &editBox, DBW_ALLWINDOWS, &maskBits);
|
||||||
DBReComputeBbox(EditCellUse->cu_def);
|
DBReComputeBbox(EditCellUse->cu_def);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -2983,7 +2983,7 @@ CmdCrosshair(w, cmd)
|
||||||
DBWSetCrosshair(w, &pos);
|
DBWSetCrosshair(w, &pos);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -3017,7 +3017,7 @@ CmdDelete(w, cmd)
|
||||||
badusage:
|
badusage:
|
||||||
TxError("Usage: %s\n", cmd->tx_argv[0]);
|
TxError("Usage: %s\n", cmd->tx_argv[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -3131,7 +3131,7 @@ cmdDownEnumFunc(selUse, use, transform, area)
|
||||||
if (!GEO_OVERLAP(&useArea, &use->cu_bbox)) return 0;
|
if (!GEO_OVERLAP(&useArea, &use->cu_bbox)) return 0;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -3605,7 +3605,7 @@ CmdDrc(w, cmd)
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -3643,7 +3643,7 @@ CmdDump(w, cmd)
|
||||||
if (cmdDumpParseArgs("dump", w, cmd, &dummy, &scx))
|
if (cmdDumpParseArgs("dump", w, cmd, &dummy, &scx))
|
||||||
SelectDump(&scx);
|
SelectDump(&scx);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/
|
||||||
#include "extract/extract.h"
|
#include "extract/extract.h"
|
||||||
#include "select/select.h"
|
#include "select/select.h"
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -574,7 +574,7 @@ badusage:
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -727,7 +727,7 @@ ClientData cdarg; /* Not used. */
|
||||||
cmdEraseCount += 1;
|
cmdEraseCount += 1;
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -833,7 +833,7 @@ cmdExpandFunc(use, windowMask)
|
||||||
&DBAllButSpaceBits);
|
&DBAllButSpaceBits);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -469,7 +469,7 @@ CmdFeedback(w, cmd)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -629,7 +629,7 @@ cmdFillFunc(tile, cxp)
|
||||||
cmdFillList = cfa;
|
cmdFillList = cfa;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -721,7 +721,7 @@ CmdFindBox(w, cmd)
|
||||||
usage:
|
usage:
|
||||||
TxError("Usage: findbox [zoom]\n");
|
TxError("Usage: findbox [zoom]\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -856,7 +856,7 @@ dbListLabels(scx, label, tpath, cdarg)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -927,7 +927,7 @@ CmdFlush(w, cmd)
|
||||||
TxPrintf("[Flushed]\n");
|
TxPrintf("[Flushed]\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1015,7 +1015,7 @@ CmdGetcell(w, cmd)
|
||||||
|
|
||||||
}
|
}
|
||||||
#ifndef NO_SIM_MODULE
|
#ifndef NO_SIM_MODULE
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1159,7 +1159,7 @@ badusage:
|
||||||
TxError(" or: getnode fast\n");
|
TxError(" or: getnode fast\n");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1417,7 +1417,7 @@ CmdHistory(w, cmd)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/
|
||||||
|
|
||||||
void CmdPaintEraseButton();
|
void CmdPaintEraseButton();
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -125,7 +125,7 @@ CmdLabelProc(text, font, size, rotate, offx, offy, pos, sticky, type)
|
||||||
DBWLabelChanged(EditCellUse->cu_def, lab, DBW_ALLWINDOWS);
|
DBWLabelChanged(EditCellUse->cu_def, lab, DBW_ALLWINDOWS);
|
||||||
lab->lab_rect = tmpArea;
|
lab->lab_rect = tmpArea;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
|
|
@ -309,7 +309,7 @@ CmdLabel(w, cmd)
|
||||||
CmdLabelProc(p, font, size, rotate, offx, offy, pos, sticky, type);
|
CmdLabelProc(p, font, size, rotate, offx, offy, pos, sticky, type);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -686,7 +686,7 @@ moveToPoint:
|
||||||
else
|
else
|
||||||
SelectTransform(&t);
|
SelectTransform(&t);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -758,7 +758,7 @@ CmdPaint(w, cmd)
|
||||||
if (DRCBackGround)
|
if (DRCBackGround)
|
||||||
DRCCheckThis (EditCellUse->cu_def, TT_CHECKPAINT, &editRect);
|
DRCCheckThis (EditCellUse->cu_def, TT_CHECKPAINT, &editRect);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/
|
||||||
|
|
||||||
extern void DisplayWindow();
|
extern void DisplayWindow();
|
||||||
|
|
||||||
|
|
||||||
#if !defined(NO_SIM_MODULE) && defined(RSIM_MODULE)
|
#if !defined(NO_SIM_MODULE) && defined(RSIM_MODULE)
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
|
|
@ -99,7 +99,7 @@ CmdRsim(w, cmd)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -162,7 +162,7 @@ CmdSave(w, cmd)
|
||||||
}
|
}
|
||||||
else cmdSaveCell(locDef, (char *) NULL, FALSE, TRUE);
|
else cmdSaveCell(locDef, (char *) NULL, FALSE, TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
|
|
@ -469,7 +469,7 @@ CmdSee(w, cmd)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -546,7 +546,7 @@ cmdSelectArea(layers, less)
|
||||||
crec = (DBWclientRec *) window->w_clientData;
|
crec = (DBWclientRec *) window->w_clientData;
|
||||||
SelectArea(&scx, &mask, crec->dbw_bitmask);
|
SelectArea(&scx, &mask, crec->dbw_bitmask);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -631,7 +631,7 @@ cmdSelectVisible(layers, less)
|
||||||
}
|
}
|
||||||
SelectArea(&scx, &mask, crec->dbw_bitmask);
|
SelectArea(&scx, &mask, crec->dbw_bitmask);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -2094,7 +2094,7 @@ CmdSideways(w, cmd)
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -2137,7 +2137,7 @@ CmdShell(w, cmd)
|
||||||
freeMagic(command);
|
freeMagic(command);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -2227,7 +2227,7 @@ CmdStartRsim(w, cmd)
|
||||||
}
|
}
|
||||||
SimConnectRsim(TRUE);
|
SimConnectRsim(TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -2304,7 +2304,7 @@ CmdSimCmd(w, cmd)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -2379,7 +2379,7 @@ printit:
|
||||||
((DBWSnapToGrid == DBW_SNAP_LAMBDA) ? "lambda" : "user"));
|
((DBWSnapToGrid == DBW_SNAP_LAMBDA) ? "lambda" : "user"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
|
|
@ -2563,7 +2563,7 @@ CmdSplitErase(w, cmd)
|
||||||
DRCCheckThis (EditCellUse->cu_def, TT_CHECKPAINT, &editRect);
|
DRCCheckThis (EditCellUse->cu_def, TT_CHECKPAINT, &editRect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -262,7 +262,7 @@ CmdInit()
|
||||||
CmdYMAllButSpace = DBAllButSpaceBits;
|
CmdYMAllButSpace = DBAllButSpaceBits;
|
||||||
TTMaskClearType(&CmdYMAllButSpace, L_CELL);
|
TTMaskClearType(&CmdYMAllButSpace, L_CELL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -326,7 +326,7 @@ cmdFlushCell(def)
|
||||||
&parentUse->cu_bbox);
|
&parentUse->cu_bbox);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -512,7 +512,7 @@ printTypes:
|
||||||
|
|
||||||
return (TRUE);
|
return (TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -551,7 +551,7 @@ cmdMaskToType(mask)
|
||||||
return (TT_SPACE);
|
return (TT_SPACE);
|
||||||
return (type);
|
return (type);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -669,7 +669,7 @@ cleanup:
|
||||||
freeMagic(fileName);
|
freeMagic(fileName);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -773,7 +773,7 @@ again:
|
||||||
}
|
}
|
||||||
return (returnname);
|
return (returnname);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -814,7 +814,7 @@ cmdSaveWindSet(window, def)
|
||||||
WindCaption(window, caption);
|
WindCaption(window, caption);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -863,7 +863,7 @@ CmdSetWindCaption(newEditUse, rootDef)
|
||||||
(void) WindSearch(DBWclientID, (ClientData) NULL, (Rect *) NULL,
|
(void) WindSearch(DBWclientID, (ClientData) NULL, (Rect *) NULL,
|
||||||
cmdWindSet, (ClientData) 0);
|
cmdWindSet, (ClientData) 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -914,7 +914,7 @@ cmdWindSet(window)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -951,7 +951,7 @@ CmdGetRootPoint(point, rect)
|
||||||
|
|
||||||
return (window);
|
return (window);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -991,7 +991,7 @@ CmdGetEditPoint(point, rect)
|
||||||
|
|
||||||
return (window);
|
return (window);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1041,7 +1041,7 @@ cmdWarnWriteFunc(cellDef, pcount)
|
||||||
(*pcount)++;
|
(*pcount)++;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* cmdExpandOneLevel --
|
* cmdExpandOneLevel --
|
||||||
|
|
@ -1082,7 +1082,7 @@ cmdExpand1func(cu, bitmask)
|
||||||
DBExpand(cu, (int) bitmask, FALSE);
|
DBExpand(cu, (int) bitmask, FALSE);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1134,7 +1134,7 @@ cmdGetSelFunc(selUse, realUse, transform, pResult)
|
||||||
*cmdSelTrans = *transform;
|
*cmdSelTrans = *transform;
|
||||||
return 1; /* Skip any other selected cells. */
|
return 1; /* Skip any other selected cells. */
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -647,7 +647,7 @@ CmdTool(w, cmd)
|
||||||
DBWPrintButtonDoc();
|
DBWPrintButtonDoc();
|
||||||
else (void) DBWChangeButtonHandler(cmd->tx_argv[1]);
|
else (void) DBWChangeButtonHandler(cmd->tx_argv[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -716,7 +716,7 @@ cmdUnexpandFunc(use, windowMask)
|
||||||
(TileTypeBitMask *) NULL);
|
(TileTypeBitMask *) NULL);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1701,7 +1701,7 @@ CmdWire(w, cmd)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1832,7 +1832,7 @@ cmdWriteallFunc(def, cmd)
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@ extern void cmdPsearchStats();
|
||||||
|
|
||||||
void cmdStatsHier(CellDef *, int, CellDef *);
|
void cmdStatsHier(CellDef *, int, CellDef *);
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -155,7 +155,7 @@ CmdCoord(w, cmd)
|
||||||
editRect.r_xtop, editRect.r_ytop);
|
editRect.r_xtop, editRect.r_ytop);
|
||||||
TxPrintf("\n");
|
TxPrintf("\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -185,7 +185,7 @@ CmdExtractTest(w, cmd)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -397,7 +397,7 @@ CmdShowtech(w, cmd)
|
||||||
(void) fclose(outf);
|
(void) fclose(outf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -721,7 +721,7 @@ cmdStatsOutput(def, cc)
|
||||||
freeMagic((char *) ci);
|
freeMagic((char *) ci);
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -826,7 +826,7 @@ cmdPsearchStats(str, tl, td, count)
|
||||||
ups = us / count;
|
ups = us / count;
|
||||||
TxPrintf("%s: %d searches, %d us/search [%s]\n", str, count, ups, rstatp);
|
TxPrintf("%s: %d searches, %d us/search [%s]\n", str, count, ups, rstatp);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -977,7 +977,7 @@ cmdTsrFunc(tp)
|
||||||
numTilesFound++;
|
numTilesFound++;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/
|
||||||
#include "utils/geometry.h"
|
#include "utils/geometry.h"
|
||||||
#include "database/database.h"
|
#include "database/database.h"
|
||||||
#include "tiles/tile.h"
|
#include "tiles/tile.h"
|
||||||
|
|
||||||
|
|
||||||
typedef struct dbcellboundstruct
|
typedef struct dbcellboundstruct
|
||||||
{
|
{
|
||||||
|
|
@ -171,7 +171,7 @@ DBBoundPlane(plane, rect)
|
||||||
|
|
||||||
return (TRUE);
|
return (TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* --------------------------------------------------------------------
|
* --------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,7 @@ dbInstanceUnplace(CellUse *use)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -113,7 +113,7 @@ DBCellFindDup(use, parent)
|
||||||
return dupUse;
|
return dupUse;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -161,7 +161,7 @@ DBPlaceCell (use, def)
|
||||||
DBUndoCellUse(use, UNDO_CELL_PLACE);
|
DBUndoCellUse(use, UNDO_CELL_PLACE);
|
||||||
SigEnableInterrupts();
|
SigEnableInterrupts();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* DBDeleteCell --
|
* DBDeleteCell --
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/
|
||||||
#include "dbwind/dbwind.h"
|
#include "dbwind/dbwind.h"
|
||||||
#include "utils/undo.h"
|
#include "utils/undo.h"
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*-----------------------------------------------------------------------------
|
*-----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -105,7 +105,7 @@ DBPrintUseId(scx, name, size, display_only)
|
||||||
|
|
||||||
return (sp);
|
return (sp);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -143,7 +143,7 @@ DBCellClearAvail(cellDef)
|
||||||
{
|
{
|
||||||
cellDef->cd_flags &= ~(CDNOTFOUND|CDAVAILABLE);
|
cellDef->cd_flags &= ~(CDNOTFOUND|CDAVAILABLE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -185,7 +185,7 @@ DBCellSetModified(cellDef, ismod)
|
||||||
if (ismod)
|
if (ismod)
|
||||||
cellDef->cd_flags |= CDMODIFIED|CDGETNEWSTAMP;
|
cellDef->cd_flags |= CDMODIFIED|CDGETNEWSTAMP;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -253,7 +253,7 @@ DBComputeUseBbox(use)
|
||||||
GeoTransRect(&use->cu_transform, &childRect, &use->cu_bbox);
|
GeoTransRect(&use->cu_transform, &childRect, &use->cu_bbox);
|
||||||
GeoTransRect(&use->cu_transform, &childExtend, &use->cu_extended);
|
GeoTransRect(&use->cu_transform, &childExtend, &use->cu_extended);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -276,7 +276,7 @@ DBIsChild(cu1, cu2)
|
||||||
{
|
{
|
||||||
return (cu1->cu_parent == cu2->cu_def);
|
return (cu1->cu_parent == cu2->cu_def);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -305,7 +305,7 @@ DBSetArray(fromCellUse, toCellUse)
|
||||||
toCellUse->cu_xsep = fromCellUse->cu_xsep;
|
toCellUse->cu_xsep = fromCellUse->cu_xsep;
|
||||||
toCellUse->cu_ysep = fromCellUse->cu_ysep;
|
toCellUse->cu_ysep = fromCellUse->cu_ysep;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -330,7 +330,7 @@ DBSetTrans(cellUse, trans)
|
||||||
cellUse->cu_transform = *trans;
|
cellUse->cu_transform = *trans;
|
||||||
DBComputeUseBbox(cellUse);
|
DBComputeUseBbox(cellUse);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -389,7 +389,7 @@ DBMakeArray(cellUse, rootToCell, xlo, ylo, xhi, yhi, xsep, ysep)
|
||||||
|
|
||||||
DBComputeUseBbox(cellUse);
|
DBComputeUseBbox(cellUse);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -545,7 +545,7 @@ DBArrayOverlap(cu, parentRect, pxlo, pxhi, pylo, pyhi)
|
||||||
*pyhi = outyhi;
|
*pyhi = outyhi;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -765,7 +765,7 @@ dbReComputeBboxFunc(cellDef, boundProc, recurseProc)
|
||||||
if ((last != NULL) && (parent != NULL)) (*recurseProc)(parent);
|
if ((last != NULL) && (parent != NULL)) (*recurseProc)(parent);
|
||||||
UndoEnable();
|
UndoEnable();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -812,7 +812,7 @@ DBComputeArrayArea(area, cellUse, x, y, prect)
|
||||||
prect->r_ybot = area->r_ybot + ydelta;
|
prect->r_ybot = area->r_ybot + ydelta;
|
||||||
prect->r_ytop = area->r_ytop + ydelta;
|
prect->r_ytop = area->r_ytop + ydelta;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -246,7 +246,7 @@ DBCellCopyManhattanPaint(scx, mask, xMask, targetUse)
|
||||||
(void) DBTreeSrTiles(scx, mask, xMask, dbCopyManhattanPaint, (ClientData) &arg);
|
(void) DBTreeSrTiles(scx, mask, xMask, dbCopyManhattanPaint, (ClientData) &arg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*-----------------------------------------------------------------------------
|
*-----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -289,7 +289,7 @@ DBCellCopyAllPaint(scx, mask, xMask, targetUse)
|
||||||
|
|
||||||
DBTreeSrTiles(scx, &locMask, xMask, dbCopyAllPaint, (ClientData) &arg);
|
DBTreeSrTiles(scx, &locMask, xMask, dbCopyAllPaint, (ClientData) &arg);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*-----------------------------------------------------------------------------
|
*-----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -387,7 +387,7 @@ dbCopyAllLabels(scx, lab, tpath, arg)
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*-----------------------------------------------------------------------------
|
*-----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -447,7 +447,7 @@ DBCellCopyPaint(scx, mask, xMask, targetUse)
|
||||||
mask, dbCopyAllPaint, (ClientData) &cxp);
|
mask, dbCopyAllPaint, (ClientData) &cxp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*-----------------------------------------------------------------------------
|
*-----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -573,7 +573,7 @@ dbCopyManhattanPaint(tile, cxp)
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/***
|
/***
|
||||||
*** Filter function for paint
|
*** Filter function for paint
|
||||||
***/
|
***/
|
||||||
|
|
@ -756,7 +756,7 @@ splitdone:
|
||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*-----------------------------------------------------------------------------
|
*-----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -816,7 +816,7 @@ DBCellCopyAllCells(scx, xMask, targetUse, pArea)
|
||||||
|
|
||||||
(void) DBTreeSrCells(scx, xMask, dbCellCopyCellsFunc, (ClientData) &arg);
|
(void) DBTreeSrCells(scx, xMask, dbCellCopyCellsFunc, (ClientData) &arg);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*-----------------------------------------------------------------------------
|
*-----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -866,7 +866,7 @@ DBCellCopyCells(scx, targetUse, pArea)
|
||||||
|
|
||||||
(void) DBCellSrArea(scx, dbCellCopyCellsFunc, (ClientData) &arg);
|
(void) DBCellSrArea(scx, dbCellCopyCellsFunc, (ClientData) &arg);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*-----------------------------------------------------------------------------
|
*-----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -963,7 +963,7 @@ dbCellCopyCellsFunc(scx, arg)
|
||||||
}
|
}
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -993,7 +993,7 @@ DBNewPaintTable(newTable))[NT][NT]
|
||||||
if (newTable) dbCurPaintTbl = newTable;
|
if (newTable) dbCurPaintTbl = newTable;
|
||||||
return oldTable;
|
return oldTable;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -281,7 +281,7 @@ DBCellDelete(cellname, force)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -369,7 +369,7 @@ dbGetUseName(celluse)
|
||||||
return (newID);
|
return (newID);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -559,7 +559,7 @@ dbCellPrintInfo(StartDef, who, dolist)
|
||||||
} /* endswitch */
|
} /* endswitch */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
|
|
@ -1225,7 +1225,7 @@ DBCellLookDef(cellName)
|
||||||
return ((CellDef *) HashGetValue(entry));
|
return ((CellDef *) HashGetValue(entry));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1280,7 +1280,7 @@ DBCellNewDef(cellName)
|
||||||
cellDef->cd_file = NULL;
|
cellDef->cd_file = NULL;
|
||||||
return (cellDef);
|
return (cellDef);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1339,7 +1339,7 @@ DBCellDefAlloc()
|
||||||
|
|
||||||
return (cellDef);
|
return (cellDef);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1395,7 +1395,7 @@ DBCellNewUse(cellDef, useName)
|
||||||
DBComputeUseBbox(cellUse);
|
DBComputeUseBbox(cellUse);
|
||||||
return (cellUse);
|
return (cellUse);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1440,7 +1440,7 @@ DBCellRenameDef(cellDef, newName)
|
||||||
|
|
||||||
return (TRUE);
|
return (TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1483,7 +1483,7 @@ DBCellDeleteDef(cellDef)
|
||||||
DBCellDefFree(cellDef);
|
DBCellDefFree(cellDef);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1541,7 +1541,7 @@ DBCellDefFree(cellDef)
|
||||||
|
|
||||||
freeMagic((char *) cellDef);
|
freeMagic((char *) cellDef);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1598,7 +1598,7 @@ DBCellDeleteUse(cellUse)
|
||||||
freeMagic((char *) cellUse);
|
freeMagic((char *) cellUse);
|
||||||
return (TRUE);
|
return (TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1653,7 +1653,7 @@ DBCellSrDefs(pattern, func, cdata)
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1773,7 +1773,7 @@ dbLinkFunc(cellUse, defname)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1818,7 +1818,7 @@ DBReLinkCell(cellUse, newName)
|
||||||
if (UndoIsEnabled()) DBUndoCellUse(cellUse, UNDO_CELL_SETID);
|
if (UndoIsEnabled()) DBUndoCellUse(cellUse, UNDO_CELL_SETID);
|
||||||
return (TRUE);
|
return (TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1858,7 +1858,7 @@ DBFindUse(id, parentDef)
|
||||||
|
|
||||||
return (CellUse *) HashGetValue(he);
|
return (CellUse *) HashGetValue(he);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1902,7 +1902,7 @@ DBGenerateUniqueIds(def, warn)
|
||||||
HashKill(&dbUniqueDefTable);
|
HashKill(&dbUniqueDefTable);
|
||||||
HashKill(&dbUniqueNameTable);
|
HashKill(&dbUniqueNameTable);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1944,7 +1944,7 @@ dbFindNamesFunc(use, parentDef)
|
||||||
}
|
}
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -2007,7 +2007,7 @@ setHash:
|
||||||
DBSetUseIdHash(use, parentDef);
|
DBSetUseIdHash(use, parentDef);
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -2035,7 +2035,7 @@ DBSetUseIdHash(use, parentDef)
|
||||||
he = HashFind(&parentDef->cd_idHash, use->cu_id);
|
he = HashFind(&parentDef->cd_idHash, use->cu_id);
|
||||||
HashSetValue(he, (ClientData) use);
|
HashSetValue(he, (ClientData) use);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -2064,7 +2064,7 @@ DBUnLinkCell(use, parentDef)
|
||||||
HashSetValue(he, (ClientData) NULL);
|
HashSetValue(he, (ClientData) NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@ struct selectArg
|
||||||
|
|
||||||
/* Forward declarations */
|
/* Forward declarations */
|
||||||
int dbSelectCellSr();
|
int dbSelectCellSr();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -276,7 +276,7 @@ dbCellPlaneSrFunc(scx, fp)
|
||||||
return 1;
|
return 1;
|
||||||
else return 0;
|
else return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*-----------------------------------------------------------------------------
|
*-----------------------------------------------------------------------------
|
||||||
|
|
@ -395,7 +395,7 @@ dbCellUniqueTileSrFunc(scx, fp)
|
||||||
else return 0;
|
else return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*-----------------------------------------------------------------------------
|
*-----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -500,7 +500,7 @@ DBNoTreeSrTiles(scx, mask, xMask, func, cdarg)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*-----------------------------------------------------------------------------
|
*-----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -741,7 +741,7 @@ cleanup:
|
||||||
|
|
||||||
return (result);
|
return (result);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*-----------------------------------------------------------------------------
|
*-----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -862,7 +862,7 @@ dbTreeCellSrFunc(scx, fp)
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*-----------------------------------------------------------------------------
|
*-----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1006,7 +1006,7 @@ DBSrRoots(baseDef, transform, func, cdarg)
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*-----------------------------------------------------------------------------
|
*-----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1045,7 +1045,7 @@ DBIsAncestor(cellDef1, cellDef2)
|
||||||
}
|
}
|
||||||
return (FALSE);
|
return (FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*-----------------------------------------------------------------------------
|
*-----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1119,7 +1119,7 @@ DBCellSrArea(scx, func, cdarg)
|
||||||
return 1;
|
return 1;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*-----------------------------------------------------------------------------
|
*-----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1191,7 +1191,7 @@ dbCellSrFunc(use, cxp)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*-----------------------------------------------------------------------------
|
*-----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1243,7 +1243,7 @@ DBCellEnum(cellDef, func, cdarg)
|
||||||
return 1;
|
return 1;
|
||||||
else return 0;
|
else return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*-----------------------------------------------------------------------------
|
*-----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -150,7 +150,7 @@ dbCopyDefFunc(use, def)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -220,7 +220,7 @@ DBCellClearDef(cellDef)
|
||||||
|
|
||||||
SigEnableInterrupts();
|
SigEnableInterrupts();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
|
|
@ -255,7 +255,7 @@ DBClearPaintPlane(plane)
|
||||||
TiSetBody(newCenterTile, TT_SPACE);
|
TiSetBody(newCenterTile, TT_SPACE);
|
||||||
dbSetPlaneTile(plane, newCenterTile);
|
dbSetPlaneTile(plane, newCenterTile);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -300,7 +300,7 @@ dbSetPlaneTile(plane, newCenterTile)
|
||||||
LEFT(newCenterTile) = TiPlaneRect.r_xbot;
|
LEFT(newCenterTile) = TiPlaneRect.r_xbot;
|
||||||
BOTTOM(newCenterTile) = TiPlaneRect.r_ybot;
|
BOTTOM(newCenterTile) = TiPlaneRect.r_ybot;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -169,7 +169,7 @@ DBInvTransformDiagonal(oldtype, trans)
|
||||||
return dinfo;
|
return dinfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -367,7 +367,7 @@ DBSrConnectOnePass(def, startArea, mask, connect, bounds, func, clientData)
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -606,7 +606,7 @@ donesides:
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -636,7 +636,7 @@ dbcUnconnectFunc(tile, clientData)
|
||||||
{
|
{
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
|
|
@ -967,7 +967,7 @@ dbcConnectFunc(tile, cx)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/
|
||||||
#include "database/database.h"
|
#include "database/database.h"
|
||||||
#include "database/databaseInt.h"
|
#include "database/databaseInt.h"
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ struct expandArg
|
||||||
*/
|
*/
|
||||||
ClientData ea_arg; /* Argument to pass to func. */
|
ClientData ea_arg; /* Argument to pass to func. */
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -96,7 +96,7 @@ DBExpand(cellUse, expandMask, expandFlag)
|
||||||
else
|
else
|
||||||
cellUse->cu_expandMask &= ~expandMask;
|
cellUse->cu_expandMask &= ~expandMask;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -265,7 +265,7 @@ dbUnexpandFunc(scx, arg)
|
||||||
return 1;
|
return 1;
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1178,7 +1178,7 @@ DBTestOpen(name, fullPath)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1539,7 +1539,7 @@ nextLine:
|
||||||
return (dbFgets(line, len, f) != NULL);
|
return (dbFgets(line, len, f) != NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -2147,7 +2147,7 @@ nextlabel:
|
||||||
return (TRUE);
|
return (TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -2326,7 +2326,7 @@ dbFindCellGCFFunc(cellUse, ggcf)
|
||||||
|
|
||||||
return (*ggcf == 1) ? 1 : 0;
|
return (*ggcf == 1) ? 1 : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -2658,7 +2658,7 @@ dbWritePropFunc(key, value, cdata)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -2974,7 +2974,7 @@ cleanup:
|
||||||
freeMagic(tmpname);
|
freeMagic(tmpname);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -3062,7 +3062,7 @@ dbWritePaintFunc(tile, cdarg)
|
||||||
FPRINTR(arg->wa_file,pstring);
|
FPRINTR(arg->wa_file,pstring);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -3205,7 +3205,7 @@ dbWriteCellFunc(cellUse, cdarg)
|
||||||
FPRINTR(arg->wa_file,cstring)
|
FPRINTR(arg->wa_file,cstring)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,7 @@ DBIsSubcircuit(cellDef)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -224,7 +224,7 @@ DBPutFontLabel(cellDef, rect, font, size, rot, offset, align, text, type, flags)
|
||||||
cellDef->cd_flags |= CDMODIFIED|CDGETNEWSTAMP;
|
cellDef->cd_flags |= CDMODIFIED|CDGETNEWSTAMP;
|
||||||
return lab;
|
return lab;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -422,7 +422,7 @@ DBEraseLabelsByContent(def, rect, type, text)
|
||||||
else goto nextCheck;
|
else goto nextCheck;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -483,7 +483,7 @@ DBEraseLabelsByFunction(def, func)
|
||||||
else goto nextCheck;
|
else goto nextCheck;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -525,7 +525,7 @@ DBReOrientLabel(cellDef, area, newPos)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -651,7 +651,7 @@ DBAdjustLabelsNew(def, area, noreconnect)
|
||||||
if (modified) DBCellSetModified(def, TRUE);
|
if (modified) DBCellSetModified(def, TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,7 @@ typedef struct {
|
||||||
extern void DBTreeFindUse();
|
extern void DBTreeFindUse();
|
||||||
|
|
||||||
bool dbParseArray();
|
bool dbParseArray();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -140,7 +140,7 @@ DBSearchLabel(scx, mask, xMask, pattern, func, cdarg)
|
||||||
return 1;
|
return 1;
|
||||||
else return 0;
|
else return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -174,7 +174,7 @@ dbSrLabelFunc(scx, label, tpath, labsr)
|
||||||
return 1;
|
return 1;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -253,7 +253,7 @@ DBSrLabelLoc(rootUse, name, func, cdarg)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -353,7 +353,7 @@ DBTreeFindUse(name, use, scx)
|
||||||
|
|
||||||
scx->scx_use = use;
|
scx->scx_use = use;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -473,7 +473,7 @@ dbParseArray(cp, use, scx)
|
||||||
scx->scx_trans = trans2;
|
scx->scx_trans = trans2;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -553,7 +553,7 @@ DBNearestLabel(cellUse, area, point, xMask, labelArea, labelName, length)
|
||||||
if (!funcData.nld_gotLabel) return FALSE;
|
if (!funcData.nld_gotLabel) return FALSE;
|
||||||
else return TRUE;
|
else return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -144,7 +144,7 @@ int dbPaintDebug = 0;
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
|
|
@ -1835,7 +1835,7 @@ dbMarkClient(tile, clip)
|
||||||
tile->ti_client = (ClientData)CLIENTDEFAULT;
|
tile->ti_client = (ClientData)CLIENTDEFAULT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -2030,7 +2030,7 @@ dbPaintMerge(tile, newType, area, plane, mergeFlags, undo, mark)
|
||||||
|
|
||||||
return (tile);
|
return (tile);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -2331,7 +2331,7 @@ paintdone:
|
||||||
done:
|
done:
|
||||||
plane->pl_hint = tile;
|
plane->pl_hint = tile;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -2520,7 +2520,7 @@ dbMergeType(tile, newType, plane, mergeFlags, undo, client)
|
||||||
|
|
||||||
return (tile);
|
return (tile);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -2794,7 +2794,7 @@ paintdone:
|
||||||
done:
|
done:
|
||||||
plane->pl_hint = tile;
|
plane->pl_hint = tile;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -2979,7 +2979,7 @@ dbPaintMergeVert(tile, newType, plane, mergeFlags, undo)
|
||||||
|
|
||||||
return (tile);
|
return (tile);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef PAINTDEBUG
|
#ifdef PAINTDEBUG
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/
|
||||||
#include "utils/hash.h"
|
#include "utils/hash.h"
|
||||||
#include "database/database.h"
|
#include "database/database.h"
|
||||||
#include "database/databaseInt.h"
|
#include "database/databaseInt.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* DBPaint --
|
* DBPaint --
|
||||||
|
|
@ -134,7 +134,7 @@ dbResolveImages(tile, cellDef)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* DBErase --
|
* DBErase --
|
||||||
|
|
@ -207,7 +207,7 @@ DBErase (cellDef, rect, type)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* DBPaintMask --
|
* DBPaintMask --
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/
|
||||||
#include "database/database.h"
|
#include "database/database.h"
|
||||||
#include "utils/malloc.h"
|
#include "utils/malloc.h"
|
||||||
|
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
*DBPropPut --
|
*DBPropPut --
|
||||||
|
|
@ -84,7 +84,7 @@ DBPropPut(cellDef, name, value)
|
||||||
else
|
else
|
||||||
HashSetValue(entry, value);
|
HashSetValue(entry, value);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
* DBPropGet --
|
* DBPropGet --
|
||||||
|
|
@ -127,7 +127,7 @@ done:
|
||||||
if (found != (bool *) NULL) *found = haveit;
|
if (found != (bool *) NULL) *found = haveit;
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
* DBPropEnum --
|
* DBPropEnum --
|
||||||
|
|
@ -178,7 +178,7 @@ DBPropEnum(cellDef, func, cdata)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
* DBPropClearAll --
|
* DBPropClearAll --
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,7 @@ void dbTechMatchResidues();
|
||||||
void dbTechAddStackedContacts();
|
void dbTechAddStackedContacts();
|
||||||
int dbTechAddOneStackedContact();
|
int dbTechAddOneStackedContact();
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -98,7 +98,7 @@ DBTechInitContact()
|
||||||
|
|
||||||
dbNumContacts = 0;
|
dbNumContacts = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -489,7 +489,7 @@ DBMaskAddStacking(mask)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -80,7 +80,7 @@ DBTechInit()
|
||||||
/* Initialization of bezier coefficients for font vectors */
|
/* Initialization of bezier coefficients for font vectors */
|
||||||
DBFontInitCurves();
|
DBFontInitCurves();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
|
|
@ -209,7 +209,7 @@ usage:
|
||||||
TechError("Badly formed version line\nUsage: {version text}|{description text}\n");
|
TechError("Badly formed version line\nUsage: {version text}|{description text}\n");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -238,7 +238,7 @@ DBTechInitConnect()
|
||||||
DBAllConnPlanes[i] = 0;
|
DBAllConnPlanes[i] = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -287,7 +287,7 @@ DBTechAddConnect(sectionName, argc, argv)
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/
|
||||||
#include "textio/textio.h"
|
#include "textio/textio.h"
|
||||||
#include "utils/malloc.h"
|
#include "utils/malloc.h"
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -203,7 +203,7 @@ DBTechNameTypes(typename, bitmask)
|
||||||
return (type < DBNumUserLayers) ? type : -2;
|
return (type < DBNumUserLayers) ? type : -2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -267,7 +267,7 @@ DBTechNamePlane(planename)
|
||||||
{
|
{
|
||||||
return ((spointertype) dbTechNameLookup(planename, &dbPlaneNameLists));
|
return ((spointertype) dbTechNameLookup(planename, &dbPlaneNameLists));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -304,7 +304,7 @@ DBTechNoisyNamePlane(planename)
|
||||||
|
|
||||||
return (pNum);
|
return (pNum);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -365,7 +365,7 @@ DBPlaneShortName(pNum)
|
||||||
return (DBPlaneLongNameTbl[pNum]);
|
return (DBPlaneLongNameTbl[pNum]);
|
||||||
return ("???");
|
return ("???");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -409,7 +409,7 @@ DBTechTypesToPlanes(mask)
|
||||||
retMask = planeMask & noCellMask;
|
retMask = planeMask & noCellMask;
|
||||||
return retMask;
|
return retMask;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
|
|
@ -547,7 +547,7 @@ DBTechPrintTypes(mask, dolist)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ TileTypeBitMask DBUserLayerBits;
|
||||||
TileTypeBitMask DBActiveLayerBits; /* Layers that are locked */
|
TileTypeBitMask DBActiveLayerBits; /* Layers that are locked */
|
||||||
TileTypeBitMask DBTechActiveLayerBits; /* Layers marked locked in the techfile */
|
TileTypeBitMask DBTechActiveLayerBits; /* Layers marked locked in the techfile */
|
||||||
|
|
||||||
|
|
||||||
/* Table of default, builtin planes */
|
/* Table of default, builtin planes */
|
||||||
DefaultPlane dbTechDefaultPlanes[] =
|
DefaultPlane dbTechDefaultPlanes[] =
|
||||||
{
|
{
|
||||||
|
|
@ -97,7 +97,7 @@ DefaultType dbTechDefaultTypes[] =
|
||||||
/* Forward declarations */
|
/* Forward declarations */
|
||||||
char *dbTechNameAdd();
|
char *dbTechNameAdd();
|
||||||
NameList *dbTechNameAddOne();
|
NameList *dbTechNameAddOne();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -152,7 +152,7 @@ DBTechInitPlane()
|
||||||
|
|
||||||
DBNumPlanes = PL_TECHDEPBASE;
|
DBNumPlanes = PL_TECHDEPBASE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
|
|
@ -394,7 +394,7 @@ DBTechAddAlias(sectionName, argc, argv)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -479,7 +479,7 @@ DBTechAddType(sectionName, argc, argv)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
|
|
@ -625,7 +625,7 @@ dbTechNameLookupExact(str, table)
|
||||||
return ((ClientData) -2);
|
return ((ClientData) -2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -708,7 +708,7 @@ dbTechNameLookup(str, table)
|
||||||
|
|
||||||
/*NOTREACHED*/
|
/*NOTREACHED*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -774,7 +774,7 @@ dbTechNameAdd(name, cdata, ptable, alias)
|
||||||
primary->sn_primary = TRUE;
|
primary->sn_primary = TRUE;
|
||||||
return (first);
|
return (first);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -312,7 +312,7 @@ enum_next:
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* --------------------------------------------------------------------
|
* --------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -471,7 +471,7 @@ enumerate:
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* --------------------------------------------------------------------
|
* --------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -633,7 +633,7 @@ enumerate:
|
||||||
}
|
}
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* --------------------------------------------------------------------
|
* --------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -700,7 +700,7 @@ enumerate:
|
||||||
/* Nothing */;
|
/* Nothing */;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* --------------------------------------------------------------------
|
* --------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -780,7 +780,7 @@ enumerate:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* --------------------------------------------------------------------
|
* --------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -858,7 +858,7 @@ int dbDeleteCellUse(CellUse *use, ClientData arg)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* --------------------------------------------------------------------
|
* --------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -966,7 +966,7 @@ dbCheckMaxHFunc(tile, dbc)
|
||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* --------------------------------------------------------------------
|
* --------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -84,7 +84,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/
|
||||||
|
|
||||||
int timestamp;
|
int timestamp;
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* DBFixMismatch --
|
* DBFixMismatch --
|
||||||
|
|
@ -188,7 +188,7 @@ DBFixMismatch()
|
||||||
if (redisplay) WindAreaChanged((MagWindow *) NULL, (Rect *) NULL);
|
if (redisplay) WindAreaChanged((MagWindow *) NULL, (Rect *) NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* DBUpdateStamps --
|
* DBUpdateStamps --
|
||||||
|
|
@ -252,7 +252,7 @@ dbStampFunc(cellDef)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* DBStampMismatch --
|
* DBStampMismatch --
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,7 @@ extern void dbTechBitTypeInit();
|
||||||
|
|
||||||
bool dbTechAddPaintErase();
|
bool dbTechAddPaintErase();
|
||||||
bool dbTechSaveCompose();
|
bool dbTechSaveCompose();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -245,7 +245,7 @@ DBTechInitCompose()
|
||||||
|
|
||||||
for (s = 0; s < DBNumTypes; s++) DBSpecialResultTbl[s] = TT_CHECKSUBCELL;
|
for (s = 0; s < DBNumTypes; s++) DBSpecialResultTbl[s] = TT_CHECKSUBCELL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -321,7 +321,7 @@ dbIsPrimary(n)
|
||||||
return (bitCount==1);
|
return (bitCount==1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -440,7 +440,7 @@ DBTechAddCompose(sectionName, argc, argv)
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -520,7 +520,7 @@ dbTechSaveCompose(ruleType, t, argc, argv)
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#if 0 /* deprecated function (5/11/04) */
|
#if 0 /* deprecated function (5/11/04) */
|
||||||
/*
|
/*
|
||||||
|
|
@ -571,7 +571,7 @@ dbTechCheckImages(t, r, s)
|
||||||
}
|
}
|
||||||
#endif /* 0 */
|
#endif /* 0 */
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -682,7 +682,7 @@ dbTechAddPaintErase(type, sectionName, argc, argv)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -733,7 +733,7 @@ dbTechCheckPaint(where)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@ extern void dbComposeSavedRules();
|
||||||
extern void dbComposeCompose();
|
extern void dbComposeCompose();
|
||||||
extern void dbComposeDecompose();
|
extern void dbComposeDecompose();
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -123,7 +123,7 @@ DBTechFinalCompose()
|
||||||
/* dbTechPrintPaint("DBTechFinalCompose", TRUE, FALSE); */
|
/* dbTechPrintPaint("DBTechFinalCompose", TRUE, FALSE); */
|
||||||
/* dbTechPrintPaint("DBTechFinalCompose", FALSE, FALSE); */
|
/* dbTechPrintPaint("DBTechFinalCompose", FALSE, FALSE); */
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -222,7 +222,7 @@ dbComposePaintAllImages()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -340,7 +340,7 @@ dbComposeContacts()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* dbComposePaintContact --
|
* dbComposePaintContact --
|
||||||
|
|
@ -613,7 +613,7 @@ dbComposeSubsetResidues(lpImage, lpErase, outMask)
|
||||||
return rval;
|
return rval;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* dbComposeEraseContact --
|
* dbComposeEraseContact --
|
||||||
|
|
@ -842,7 +842,7 @@ dbComposeSavedRules()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* dbComposeDecompose --
|
* dbComposeDecompose --
|
||||||
|
|
@ -886,7 +886,7 @@ dbComposeDecompose(imageType, componentType, remainingType)
|
||||||
dbSetEraseEntry(imageType, componentType, pNum, resultType);
|
dbSetEraseEntry(imageType, componentType, pNum, resultType);
|
||||||
TTMaskSetType(&dbNotDefaultEraseTbl[imageType], componentType);
|
TTMaskSetType(&dbNotDefaultEraseTbl[imageType], componentType);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* dbComposeCompose --
|
* dbComposeCompose --
|
||||||
|
|
|
||||||
|
|
@ -107,7 +107,7 @@ bool dbUndoUndid;
|
||||||
|
|
||||||
extern void dbUndoEdit();
|
extern void dbUndoEdit();
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -204,7 +204,7 @@ DBUndoReset(celldef)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -229,7 +229,7 @@ dbUndoInit()
|
||||||
dbUndoAreaChanged.r_xbot = dbUndoAreaChanged.r_xtop = 0;
|
dbUndoAreaChanged.r_xbot = dbUndoAreaChanged.r_xtop = 0;
|
||||||
dbUndoAreaChanged.r_ybot = dbUndoAreaChanged.r_ytop = 0;
|
dbUndoAreaChanged.r_ybot = dbUndoAreaChanged.r_ytop = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ============================================================================
|
* ============================================================================
|
||||||
*
|
*
|
||||||
|
|
@ -413,7 +413,7 @@ endPaintBack:
|
||||||
(void) GeoInclude(&up->pue_rect, &dbUndoAreaChanged);
|
(void) GeoInclude(&up->pue_rect, &dbUndoAreaChanged);
|
||||||
(void) DRCCheckThis(dbUndoLastCell, TT_CHECKPAINT, &up->pue_rect);
|
(void) DRCCheckThis(dbUndoLastCell, TT_CHECKPAINT, &up->pue_rect);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ============================================================================
|
* ============================================================================
|
||||||
*
|
*
|
||||||
|
|
@ -485,7 +485,7 @@ DBUndoPutLabel(cellDef, lab)
|
||||||
lup->lue_offset = lab->lab_offset;
|
lup->lue_offset = lab->lab_offset;
|
||||||
strcpy(lup->lue_text, lab->lab_text);
|
strcpy(lup->lue_text, lab->lab_text);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -528,7 +528,7 @@ DBUndoEraseLabel(cellDef, lab)
|
||||||
lup->lue_offset = lab->lab_offset;
|
lup->lue_offset = lab->lab_offset;
|
||||||
strcpy(lup->lue_text, lab->lab_text);
|
strcpy(lup->lue_text, lab->lab_text);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -585,7 +585,7 @@ dbUndoLabelBack(up)
|
||||||
if (up->lue_type == TT_SPACE)
|
if (up->lue_type == TT_SPACE)
|
||||||
dbUndoUndid = TRUE;
|
dbUndoUndid = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ============================================================================
|
* ============================================================================
|
||||||
*
|
*
|
||||||
|
|
@ -670,7 +670,7 @@ DBUndoCellUse(use, action)
|
||||||
up->cue_flags = use->cu_flags;
|
up->cue_flags = use->cu_flags;
|
||||||
strcpy(up->cue_id, use->cu_id);
|
strcpy(up->cue_id, use->cu_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -827,7 +827,7 @@ dbUndoCellBack(up)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -874,7 +874,7 @@ findUse(up, matchName)
|
||||||
ASSERT(FALSE, "findUse: use == NULL");
|
ASSERT(FALSE, "findUse: use == NULL");
|
||||||
return (CellUse *) NULL;
|
return (CellUse *) NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ============================================================================
|
* ============================================================================
|
||||||
*
|
*
|
||||||
|
|
@ -941,7 +941,7 @@ dbUndoEdit(new)
|
||||||
strcpy(up->eue_name, new->cd_name);
|
strcpy(up->eue_name, new->cd_name);
|
||||||
dbUndoLastCell = new;
|
dbUndoLastCell = new;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -968,7 +968,7 @@ dbUndoOpenCell(eup)
|
||||||
ASSERT(newDef != (CellDef *) NULL, "dbUndoOpenCell");
|
ASSERT(newDef != (CellDef *) NULL, "dbUndoOpenCell");
|
||||||
dbUndoLastCell = newDef;
|
dbUndoLastCell = newDef;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@ void (*DBWButtonCurrentProc)();
|
||||||
static int buttonCorner = TOOL_ILG; /* Nearest corner when button went
|
static int buttonCorner = TOOL_ILG; /* Nearest corner when button went
|
||||||
* down.
|
* down.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -138,7 +138,7 @@ DBWAddButtonHandler(name, proc, cursor, doc)
|
||||||
TxError(" table. Get your Magic wizard to increase the size of\n");
|
TxError(" table. Get your Magic wizard to increase the size of\n");
|
||||||
TxError(" MAXBUTTONHANDLERS in DBWbuttons.c\n");
|
TxError(" MAXBUTTONHANDLERS in DBWbuttons.c\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -235,7 +235,7 @@ DBWChangeButtonHandler(name)
|
||||||
DBWButtonCurrentProc = dbwButtonProcs[dbwButtonCurrentIndex];
|
DBWButtonCurrentProc = dbwButtonProcs[dbwButtonCurrentIndex];
|
||||||
return oldName;
|
return oldName;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -260,7 +260,7 @@ DBWPrintButtonDoc()
|
||||||
TxPrintf("%s", dbwButtonDoc[dbwButtonCurrentIndex]);
|
TxPrintf("%s", dbwButtonDoc[dbwButtonCurrentIndex]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* dbwButtonSetCursor --
|
* dbwButtonSetCursor --
|
||||||
|
|
@ -312,7 +312,7 @@ dbwButtonSetCursor(button, corner)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -129,7 +129,7 @@ extern int dbwTileFunc(), dbwWatchFunc(), dbwLabelFunc();
|
||||||
extern int dbwPaintFunc(), dbwBBoxFunc();
|
extern int dbwPaintFunc(), dbwBBoxFunc();
|
||||||
extern int dbwWindowFunc(), dbwChangedFunc();
|
extern int dbwWindowFunc(), dbwChangedFunc();
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* DBWredisplay --
|
* DBWredisplay --
|
||||||
|
|
@ -549,7 +549,7 @@ DBWredisplay(w, rootArea, clipArea)
|
||||||
if (GrPutBackingStorePtr != NULL)
|
if (GrPutBackingStorePtr != NULL)
|
||||||
(*GrPutBackingStorePtr)(w, &rootClip);
|
(*GrPutBackingStorePtr)(w, &rootClip);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -652,7 +652,7 @@ dbwPaintFunc(tile, cxp)
|
||||||
GrBox(dbwWindow, &scx->scx_trans, tile);
|
GrBox(dbwWindow, &scx->scx_trans, tile);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
|
|
@ -899,7 +899,7 @@ DBWDrawFontLabel(label, window, trans, style)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -991,7 +991,7 @@ dbwLabelFunc(scx, label, tpath)
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1043,7 +1043,7 @@ dbwBBoxFunc(scx)
|
||||||
GR_TEXT_LARGE, TRUE, &r, (Rect *)NULL);
|
GR_TEXT_LARGE, TRUE, &r, (Rect *)NULL);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1253,7 +1253,7 @@ dbwTileFunc(tile)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* DBWAreaChanged --
|
* DBWAreaChanged --
|
||||||
|
|
@ -1406,7 +1406,7 @@ DBWAreaChanged(cellDef, defArea, expandMask, layers)
|
||||||
SigEnableInterrupts();
|
SigEnableInterrupts();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1481,7 +1481,7 @@ dbwChangedFunc(w, area)
|
||||||
else WindAreaChanged(w, &screenArea);
|
else WindAreaChanged(w, &screenArea);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1609,13 +1609,13 @@ dbwLabelChangedFunc(w, lab)
|
||||||
WindAreaChanged(w, &screenArea);
|
WindAreaChanged(w, &screenArea);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Technology initialization for the display module.
|
* Technology initialization for the display module.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
global TileTypeBitMask *DBWStyleToTypesTbl = NULL;
|
global TileTypeBitMask *DBWStyleToTypesTbl = NULL;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* DBWTechInitStyles --
|
* DBWTechInitStyles --
|
||||||
|
|
@ -1650,7 +1650,7 @@ DBWTechInitStyles()
|
||||||
for (i = 0; i < DBWNumStyles; i++)
|
for (i = 0; i < DBWNumStyles; i++)
|
||||||
TTMaskZero(DBWStyleToTypesTbl + i);
|
TTMaskZero(DBWStyleToTypesTbl + i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
|
@ -300,7 +300,7 @@ DBWScaleElements(n, d)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -541,7 +541,7 @@ dbwElementUndraw(mw, elem)
|
||||||
GrUnlock(mw, TRUE);
|
GrUnlock(mw, TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -693,7 +693,7 @@ DBWElementInbox(area)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -91,7 +91,7 @@ static CellDef *dbwfbRootDef; /* To pass root cell definition from
|
||||||
* DBWFeedbackAdd.
|
* DBWFeedbackAdd.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -250,7 +250,7 @@ dbwFeedbackAlways1()
|
||||||
{
|
{
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -545,7 +545,7 @@ dbwFeedbackInit()
|
||||||
DBWHLAddClient(DBWFeedbackRedraw);
|
DBWHLAddClient(DBWFeedbackRedraw);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -594,7 +594,7 @@ DBWFeedbackShow()
|
||||||
DBWHLRedraw(currentRoot, &area, FALSE);
|
DBWHLRedraw(currentRoot, &area, FALSE);
|
||||||
dbwfbNextToShow = DBWFeedbackCount;
|
dbwfbNextToShow = DBWFeedbackCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/
|
||||||
|
|
||||||
#define MAXCLIENTS 10
|
#define MAXCLIENTS 10
|
||||||
static int (*(dbwhlClients[MAXCLIENTS]))();
|
static int (*(dbwhlClients[MAXCLIENTS]))();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -98,7 +98,7 @@ DBWHLAddClient(redisplayProc)
|
||||||
TxError("Magic error: ran out of space in highlight client table.\n");
|
TxError("Magic error: ran out of space in highlight client table.\n");
|
||||||
TxError("Tell your system maintainer to enlarge the table.\n");
|
TxError("Tell your system maintainer to enlarge the table.\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -135,7 +135,7 @@ DBWHLRemoveClient(redisplayProc)
|
||||||
}
|
}
|
||||||
ASSERT(FALSE, "DBWHLRemoveClient");
|
ASSERT(FALSE, "DBWHLRemoveClient");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -413,7 +413,7 @@ dbwhlEraseFunc(tile, window)
|
||||||
if (needErase) GrClipBox(&area, STYLE_ERASEHIGHLIGHTS);
|
if (needErase) GrClipBox(&area, STYLE_ERASEHIGHLIGHTS);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* DBWHLUpdate --
|
* DBWHLUpdate --
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ extern void DBWredisplay(); /* Defined in DBWdisplay.c */
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static int (*dbwButtonHandler)() = NULL;
|
static int (*dbwButtonHandler)() = NULL;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -153,7 +153,7 @@ DBWcreate(window, argc, argv)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* DBWdelete --
|
* DBWdelete --
|
||||||
|
|
@ -184,7 +184,7 @@ DBWdelete(window)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -215,7 +215,7 @@ dbwLoadFunc(w, clientData)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -252,7 +252,7 @@ dbwReloadFunc(w, name)
|
||||||
DBWloadWindow(w, name, TRUE, FALSE, FALSE);
|
DBWloadWindow(w, name, TRUE, FALSE, FALSE);
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
|
|
@ -541,7 +541,7 @@ UnexpandFunc(use, windowMask)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* DBWexit --
|
* DBWexit --
|
||||||
|
|
@ -562,7 +562,7 @@ DBWexit()
|
||||||
{
|
{
|
||||||
return (CmdWarnWrite() == 1);
|
return (CmdWarnWrite() == 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -610,7 +610,7 @@ DBWcommands(w, cmd)
|
||||||
|
|
||||||
DBFixMismatch();
|
DBFixMismatch();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -649,7 +649,7 @@ int (*(DBWNewButtonHandler(buttonProc)))()
|
||||||
dbwButtonHandler = buttonProc;
|
dbwButtonHandler = buttonProc;
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* DBWupdate--
|
* DBWupdate--
|
||||||
|
|
@ -672,7 +672,7 @@ DBWupdate()
|
||||||
DBWFeedbackShow();
|
DBWFeedbackShow();
|
||||||
DBWHLUpdate();
|
DBWHLUpdate();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* DBWinit --
|
* DBWinit --
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,7 @@ int DBWSnapToGrid = DBW_SNAP_LAMBDA;
|
||||||
|
|
||||||
extern int DBWToolDraw();
|
extern int DBWToolDraw();
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -126,7 +126,7 @@ toolFindPoint(p, rootPoint, rootArea)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* ToolGetPoint --
|
* ToolGetPoint --
|
||||||
|
|
@ -165,7 +165,7 @@ ToolGetPoint(rootPoint, rootArea)
|
||||||
return toolFindPoint(&WindCurrentCmd->tx_p, rootPoint, rootArea);
|
return toolFindPoint(&WindCurrentCmd->tx_p, rootPoint, rootArea);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* ToolGetBox --
|
* ToolGetBox --
|
||||||
|
|
@ -209,7 +209,7 @@ ToolScaleBox(scalen, scaled)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* ToolGetBoxWindow --
|
* ToolGetBoxWindow --
|
||||||
|
|
@ -278,7 +278,7 @@ toolWindowSave(window, clientData)
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -319,7 +319,7 @@ ToolGetEditBox(rect)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* ToolGetCorner --
|
* ToolGetCorner --
|
||||||
|
|
@ -617,7 +617,7 @@ dbwRecordBoxArea(erase)
|
||||||
DBWHLRedraw(boxRootDef, &side, erase);
|
DBWHLRedraw(boxRootDef, &side, erase);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -749,7 +749,7 @@ dbwBoxAlways1()
|
||||||
{
|
{
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* DBWSetBox --
|
* DBWSetBox --
|
||||||
|
|
@ -789,7 +789,7 @@ DBWSetBox(rootDef, rect)
|
||||||
|
|
||||||
dbwRecordBoxArea(FALSE);
|
dbwRecordBoxArea(FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* ToolMoveBox --
|
* ToolMoveBox --
|
||||||
|
|
@ -890,7 +890,7 @@ ToolMoveBox(corner, point, screenCoords, rootDef)
|
||||||
DBWSetBox(newDef, &newArea);
|
DBWSetBox(newDef, &newArea);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* ToolMoveCorner --
|
* ToolMoveCorner --
|
||||||
|
|
@ -1012,7 +1012,7 @@ ToolMoveCorner(corner, point, screenCoords, rootDef)
|
||||||
|
|
||||||
DBWSetBox(newDef, &newArea);
|
DBWSetBox(newDef, &newArea);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -84,7 +84,7 @@ typedef struct
|
||||||
Rect bue_newArea;
|
Rect bue_newArea;
|
||||||
} BoxUndoEvent;
|
} BoxUndoEvent;
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -118,7 +118,7 @@ dbwUndoInit()
|
||||||
(UndoEvent *(*)()) NULL, (int (*)()) NULL, dbwUndoBoxForw,
|
(UndoEvent *(*)()) NULL, (int (*)()) NULL, dbwUndoBoxForw,
|
||||||
dbwUndoBoxBack, "box change");
|
dbwUndoBoxBack, "box change");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -179,7 +179,7 @@ DBWUndoNewEdit(editUse, editRootDef, editToRootTrans, rootToEditTrans)
|
||||||
ep->e_parentDef = editUse->cu_parent;
|
ep->e_parentDef = editUse->cu_parent;
|
||||||
(void) strcpy(ep->e_useId, useid);
|
(void) strcpy(ep->e_useId, useid);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -244,7 +244,7 @@ dbwUndoChangeEdit(ep)
|
||||||
DBWAreaChanged(EditRootDef, &area, DBW_ALLWINDOWS, &DBAllButSpaceBits);
|
DBWAreaChanged(EditRootDef, &area, DBW_ALLWINDOWS, &DBAllButSpaceBits);
|
||||||
CmdSetWindCaption(EditCellUse, EditRootDef);
|
CmdSetWindCaption(EditCellUse, EditRootDef);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -278,7 +278,7 @@ DBWUndoBox(oldDef, oldArea, newDef, newArea)
|
||||||
bue->bue_newDef = newDef;
|
bue->bue_newDef = newDef;
|
||||||
bue->bue_newArea = *newArea;
|
bue->bue_newArea = *newArea;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/
|
||||||
struct debugClient debugClients[MAXDEBUGCLIENTS];
|
struct debugClient debugClients[MAXDEBUGCLIENTS];
|
||||||
int debugNumClients = 0;
|
int debugNumClients = 0;
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -84,7 +84,7 @@ DebugAddClient(name, maxflags)
|
||||||
|
|
||||||
return ((ClientData) debugNumClients++);
|
return ((ClientData) debugNumClients++);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -137,7 +137,7 @@ DebugAddFlag(clientID, name)
|
||||||
dc->dc_flags[dc->dc_nflags].df_value = FALSE;
|
dc->dc_flags[dc->dc_nflags].df_value = FALSE;
|
||||||
return (dc->dc_nflags++);
|
return (dc->dc_nflags++);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -173,7 +173,7 @@ DebugShow(clientID)
|
||||||
TxPrintf("%-5.5s %s\n", dc->dc_flags[n].df_value ? "TRUE" : "FALSE",
|
TxPrintf("%-5.5s %s\n", dc->dc_flags[n].df_value ? "TRUE" : "FALSE",
|
||||||
dc->dc_flags[n].df_name);
|
dc->dc_flags[n].df_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/
|
||||||
#include "utils/malloc.h"
|
#include "utils/malloc.h"
|
||||||
|
|
||||||
Histogram * hist_list = (Histogram *) NULL;
|
Histogram * hist_list = (Histogram *) NULL;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -63,7 +63,7 @@ histFind(name, ptrKeys)
|
||||||
return(h);
|
return(h);
|
||||||
return((Histogram *) NULL);
|
return((Histogram *) NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -116,7 +116,7 @@ HistCreate(name, ptrKeys, low, step, bins)
|
||||||
new->hi_next=hist_list;
|
new->hi_next=hist_list;
|
||||||
hist_list=new;
|
hist_list=new;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -157,7 +157,7 @@ HistAdd(name, ptrKeys, value)
|
||||||
if(value > h->hi_max)
|
if(value > h->hi_max)
|
||||||
h->hi_max=value;
|
h->hi_max=value;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ static int drcArrayCount; /* Count of number of errors found. */
|
||||||
static void (*drcArrayErrorFunc)(); /* Function to call on violations. */
|
static void (*drcArrayErrorFunc)(); /* Function to call on violations. */
|
||||||
static ClientData drcArrayClientData; /* Extra parameter to pass to func. */
|
static ClientData drcArrayClientData; /* Extra parameter to pass to func. */
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -240,7 +240,7 @@ drcArrayFunc(scx, area)
|
||||||
|
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* DRCArrayCheck --
|
* DRCArrayCheck --
|
||||||
|
|
@ -308,7 +308,7 @@ DRCArrayCheck(def, area, func, cdarg)
|
||||||
return drcArrayCount;
|
return drcArrayCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -344,7 +344,7 @@ drcArrayYankFunc(use, transform, x, y, yankArea)
|
||||||
(void) DBCellCopyAllPaint(&scx, &DBAllButSpaceBits, 0, DRCuse);
|
(void) DBCellCopyAllPaint(&scx, &DBAllButSpaceBits, 0, DRCuse);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -114,7 +114,7 @@ point_to_segment(px, py, s1x, s1y, s2x, s2y)
|
||||||
#define RADIAL_SW 0x2000
|
#define RADIAL_SW 0x2000
|
||||||
#define RADIAL_SE 0x4000
|
#define RADIAL_SE 0x4000
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -267,7 +267,7 @@ areaCheck(tile, arg)
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -350,7 +350,7 @@ DRCBasicCheck (celldef, checkRect, clipRect, function, cdata)
|
||||||
if (arg.dCD_rlist != NULL) freeMagic(arg.dCD_rlist);
|
if (arg.dCD_rlist != NULL) freeMagic(arg.dCD_rlist);
|
||||||
return (errors);
|
return (errors);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -146,7 +146,7 @@ extern int drcCheckTile();
|
||||||
extern CellDef *DRCErrorDef;
|
extern CellDef *DRCErrorDef;
|
||||||
extern TileType DRCErrorType;
|
extern TileType DRCErrorType;
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* DRCCheckThis --
|
* DRCCheckThis --
|
||||||
|
|
@ -268,7 +268,7 @@ DRCCheckThis (celldef, operation, area)
|
||||||
DRCCheckThis (cu->cu_parent, TT_CHECKSUBCELL, &transRect);
|
DRCCheckThis (cu->cu_parent, TT_CHECKSUBCELL, &transRect);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
|
|
@ -550,7 +550,7 @@ checkDone:
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* drcCheckTile --
|
* drcCheckTile --
|
||||||
|
|
@ -771,7 +771,7 @@ drcPutBackFunc(tile, cellDef)
|
||||||
(PaintUndoInfo *) NULL);
|
(PaintUndoInfo *) NULL);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -197,7 +197,7 @@ forgetit:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -332,7 +332,7 @@ drcCheckMaxwidth(starttile,arg,cptr)
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -125,7 +125,7 @@ static int drcTotalVRulesHisto[DRC_MAXRULESHISTO];
|
||||||
static int drcTotalHRulesHisto[DRC_MAXRULESHISTO];
|
static int drcTotalHRulesHisto[DRC_MAXRULESHISTO];
|
||||||
#endif /* DRCRULESHISTO */
|
#endif /* DRCRULESHISTO */
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* drcPaintError --
|
* drcPaintError --
|
||||||
|
|
@ -243,7 +243,7 @@ drcSubstitute (cptr)
|
||||||
return why_out;
|
return why_out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* drcPrintError --
|
* drcPrintError --
|
||||||
|
|
@ -361,7 +361,7 @@ drcListallError (celldef, rect, cptr, scx)
|
||||||
#define drcListError drcPrintError
|
#define drcListError drcPrintError
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -438,7 +438,7 @@ DRCPrintStats()
|
||||||
}
|
}
|
||||||
#endif /* DRCRULESHISTO */
|
#endif /* DRCRULESHISTO */
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -723,7 +723,7 @@ drcCheckFunc(scx, cdarg)
|
||||||
return 2;
|
return 2;
|
||||||
else return 0;
|
else return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -888,7 +888,7 @@ DRCCatchUp()
|
||||||
DRCContinuous();
|
DRCContinuous();
|
||||||
DRCBackGround = background;
|
DRCBackGround = background;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/
|
||||||
|
|
||||||
extern char *maskToPrint();
|
extern char *maskToPrint();
|
||||||
extern char *DBTypeShortName();
|
extern char *DBTypeShortName();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -63,7 +63,7 @@ drcGetName(layer, string)
|
||||||
return string;
|
return string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* DRCPrintRulesTable --
|
* DRCPrintRulesTable --
|
||||||
|
|
|
||||||
|
|
@ -94,7 +94,7 @@ drcFindOtherCells(use, area)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -164,7 +164,7 @@ drcSubcellFunc(subUse, propagate)
|
||||||
(void) GeoInclude(&intArea, &drcSubIntArea);
|
(void) GeoInclude(&intArea, &drcSubIntArea);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -188,7 +188,7 @@ drcAlwaysOne()
|
||||||
{
|
{
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -238,7 +238,7 @@ drcSubCheckPaint(scx, curUse)
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -340,7 +340,7 @@ DRCFindInteractions(def, area, radius, interaction)
|
||||||
if (GEO_RECTNULL(interaction)) return FALSE;
|
if (GEO_RECTNULL(interaction)) return FALSE;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -377,7 +377,7 @@ drcExactOverlapCheck(tile, arg)
|
||||||
(*(arg->dCD_errors))++;
|
(*(arg->dCD_errors))++;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -505,7 +505,7 @@ drcExactOverlapTile(tile, cxp)
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -3066,7 +3066,7 @@ drcNoOverlap(argc, argv)
|
||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -3754,7 +3754,7 @@ drcTechFinalStyle(style)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -225,7 +225,7 @@ Exttosim_Init(interp)
|
||||||
|
|
||||||
#endif /* EXT2SIM_AUTO */
|
#endif /* EXT2SIM_AUTO */
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -769,7 +769,7 @@ main(argc, argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* MAGIC_WRAPPER */
|
#endif /* MAGIC_WRAPPER */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -924,7 +924,7 @@ usage:
|
||||||
exit (1);
|
exit (1);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
|
|
@ -949,7 +949,7 @@ HierName *suffix;
|
||||||
return(((EFNodeName *) HashGetValue(he))->efnn_node);
|
return(((EFNodeName *) HashGetValue(he))->efnn_node);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1319,7 +1319,7 @@ bool simnAPHier(dterm, hierName, resClass, scale, outf)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1365,7 +1365,7 @@ simdevOutNode(prefix, suffix, name, outf)
|
||||||
initNodeClient(nn->efnn_node);
|
initNodeClient(nn->efnn_node);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1407,7 +1407,7 @@ int simcapVisit(hierName1, hierName2, cap)
|
||||||
fprintf(esSimF, esCapFormat, cap);
|
fprintf(esSimF, esCapFormat, cap);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1447,7 +1447,7 @@ simresistVisit(hierName1, hierName2, res)
|
||||||
fprintf(esSimF, " %g\n", res / 1000.);
|
fprintf(esSimF, " %g\n", res / 1000.);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1626,7 +1626,7 @@ Dev *dev;
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1086,7 +1086,7 @@ spcdevHierMergeVisit(hc, dev, scale)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1128,7 +1128,7 @@ spccapHierVisit(hc, hierName1, hierName2, cap)
|
||||||
nodeSpiceHierName(hc, hierName2), cap);
|
nodeSpiceHierName(hc, hierName2), cap);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1115,7 +1115,7 @@ main(argc, argv)
|
||||||
|
|
||||||
#endif /* MAGIC_WRAPPER */
|
#endif /* MAGIC_WRAPPER */
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1303,7 +1303,7 @@ HierName *suffix;
|
||||||
if (nn == NULL) return NULL;
|
if (nn == NULL) return NULL;
|
||||||
return(nn->efnn_node);
|
return(nn->efnn_node);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -3038,7 +3038,7 @@ spcdevOutNode(prefix, suffix, name, outf)
|
||||||
return (1 + strlen(nname));
|
return (1 + strlen(nname));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -3078,7 +3078,7 @@ spccapVisit(hierName1, hierName2, cap)
|
||||||
nodeSpiceName(hierName2, NULL), cap);
|
nodeSpiceName(hierName2, NULL), cap);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -3115,7 +3115,7 @@ spcresistVisit(hierName1, hierName2, res)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
|
|
@ -3249,7 +3249,7 @@ nodeVisitDebug(node, res, cap)
|
||||||
((nodeClient *)node->efnode_client)->m_w.widths);
|
((nodeClient *)node->efnode_client)->m_w.widths);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -152,7 +152,7 @@ typedef struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* attributes controlling the Area/Perimeter extraction of dev terminals */
|
/* attributes controlling the Area/Perimeter extraction of dev terminals */
|
||||||
#define ATTR_FLATAP "*[Ee][Xx][Tt]:[Aa][Pp][Ff]*"
|
#define ATTR_FLATAP "*[Ee][Xx][Tt]:[Aa][Pp][Ff]*"
|
||||||
#define ATTR_HIERAP "*[Ee][Xx][Tt]:[Aa][Pp][Hh]*"
|
#define ATTR_HIERAP "*[Ee][Xx][Tt]:[Aa][Pp][Hh]*"
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ int ecNumNodeResists;
|
||||||
|
|
||||||
/* Forward declarations */
|
/* Forward declarations */
|
||||||
int nodeVisit(), devVisit(), capVisit(), resistVisit();
|
int nodeVisit(), devVisit(), capVisit(), resistVisit();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -105,7 +105,7 @@ main(argc, argv)
|
||||||
ecNumResists, ecNumThreshResists);
|
ecNumResists, ecNumThreshResists);
|
||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -100,7 +100,7 @@ typedef struct _ams {
|
||||||
CellDef *def; /* CellDef for adding feedback */
|
CellDef *def; /* CellDef for adding feedback */
|
||||||
} AntennaMarkStruct;
|
} AntennaMarkStruct;
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -243,7 +243,7 @@ runantennacheck:
|
||||||
efAntennaDebug = FALSE;
|
efAntennaDebug = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -81,7 +81,7 @@ bool efScaleChanged = FALSE; /* TRUE if .ext scales mismatch */
|
||||||
extern int efLoadPathFunc();
|
extern int efLoadPathFunc();
|
||||||
extern void efLoadSearchPath();
|
extern void efLoadSearchPath();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -341,7 +341,7 @@ usage:
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef MAGIC_WRAPPER
|
#ifndef MAGIC_WRAPPER
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@ bool efConnInitSubs();
|
||||||
|
|
||||||
extern float locScale;
|
extern float locScale;
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -288,7 +288,7 @@ efBuildAttr(def, nodeName, r, layerName, text)
|
||||||
ap->efa_next = nn->efnn_node->efnode_attrs;
|
ap->efa_next = nn->efnn_node->efnode_attrs;
|
||||||
nn->efnn_node->efnode_attrs = ap;
|
nn->efnn_node->efnode_attrs = ap;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -371,7 +371,7 @@ efBuildDist(def, driver, receiver, min, max)
|
||||||
HashSetValue(he, (ClientData) he->h_key.h_ptr);
|
HashSetValue(he, (ClientData) he->h_key.h_ptr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -401,7 +401,7 @@ efBuildKill(def, name)
|
||||||
kill->kill_next = def->def_kills;
|
kill->kill_next = def->def_kills;
|
||||||
def->def_kills = kill;
|
def->def_kills = kill;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -476,7 +476,7 @@ efBuildEquiv(def, nodeName1, nodeName2)
|
||||||
efNodeAddName(nn2->efnn_node, he1,
|
efNodeAddName(nn2->efnn_node, he1,
|
||||||
EFStrToHN((HierName *) NULL, nodeName1));
|
EFStrToHN((HierName *) NULL, nodeName1));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
|
|
@ -1079,7 +1079,7 @@ efBuildDevNode(def, name, isSubsNode)
|
||||||
}
|
}
|
||||||
return nn->efnn_node;
|
return nn->efnn_node;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1123,7 +1123,7 @@ efBuildAddStr(table, pMax, size, str)
|
||||||
|
|
||||||
return max;
|
return max;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1212,7 +1212,7 @@ efBuildUse(def, subDefName, subUseId, ta, tb, tc, td, te, tf)
|
||||||
TxError("Warning: use %s appears more than once in def!\n", newuse->use_id);
|
TxError("Warning: use %s appears more than once in def!\n", newuse->use_id);
|
||||||
HashSetValue(he, (ClientData)newuse);
|
HashSetValue(he, (ClientData)newuse);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1263,7 +1263,7 @@ efBuildConnect(def, nodeName1, nodeName2, deltaC, av, ac)
|
||||||
def->def_conns = conn;
|
def->def_conns = conn;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1300,7 +1300,7 @@ efBuildResistor(def, nodeName1, nodeName2, resistance)
|
||||||
def->def_resistors = conn;
|
def->def_resistors = conn;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1337,7 +1337,7 @@ efBuildCap(def, nodeName1, nodeName2, cap)
|
||||||
def->def_caps = conn;
|
def->def_caps = conn;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1392,7 +1392,7 @@ bad:
|
||||||
freeMagic((char *) conn);
|
freeMagic((char *) conn);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1498,7 +1498,7 @@ again:
|
||||||
cnp->cn_nsubs = nsubs;
|
cnp->cn_nsubs = nsubs;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1558,7 +1558,7 @@ efNodeAddName(node, he, hn)
|
||||||
oldnn->efnn_next = newnn;
|
oldnn->efnn_next = newnn;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1742,7 +1742,7 @@ efNodeMerge(node1ptr, node2ptr)
|
||||||
*node1ptr = keeping;
|
*node1ptr = keeping;
|
||||||
*node2ptr = (EFNode *)NULL; /* Sanity check */
|
*node2ptr = (EFNode *)NULL; /* Sanity check */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
|
|
@ -1846,7 +1846,7 @@ efFreeNodeTable(table)
|
||||||
freeMagic((char *) nn);
|
freeMagic((char *) nn);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1880,7 +1880,7 @@ efFreeNodeList(head)
|
||||||
freeMagic((char *) node);
|
freeMagic((char *) node);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ HashTable efFreeHashTable;
|
||||||
|
|
||||||
/* Hash table used for keeping subcircuit parameter names for a device */
|
/* Hash table used for keeping subcircuit parameter names for a device */
|
||||||
HashTable efDevParamTable;
|
HashTable efDevParamTable;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -75,7 +75,7 @@ EFInit()
|
||||||
HashInit(&efDevParamTable, 8, HT_STRINGKEYS);
|
HashInit(&efDevParamTable, 8, HT_STRINGKEYS);
|
||||||
efSymInit();
|
efSymInit();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -166,7 +166,7 @@ EFDone()
|
||||||
/* Final cleanup */
|
/* Final cleanup */
|
||||||
HashKill(&efDefHashTable);
|
HashKill(&efDefHashTable);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -198,7 +198,7 @@ efDefLook(name)
|
||||||
|
|
||||||
return ((Def *) HashGetValue(he));
|
return ((Def *) HashGetValue(he));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ extern int efReadLineNum;
|
||||||
extern int Tcl_printf();
|
extern int Tcl_printf();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,7 @@ int efAddOneConn(HierContext *, char *, char *, Connection *, bool);
|
||||||
#define FLATNODE_STDCELL 0x01
|
#define FLATNODE_STDCELL 0x01
|
||||||
#define FLATNODE_DOWARN 0x02
|
#define FLATNODE_DOWARN 0x02
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -233,7 +233,7 @@ EFFlatBuildOneLevel(def, flags)
|
||||||
|
|
||||||
return &efFlatContext;
|
return &efFlatContext;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -268,7 +268,7 @@ EFFlatDone()
|
||||||
HashKill(&efHNUseHashTable);
|
HashKill(&efHNUseHashTable);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
|
|
@ -602,7 +602,7 @@ efAddConns(hc, doWarn)
|
||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -660,7 +660,7 @@ efAddOneConn(hc, name1, name2, conn, doWarn)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -871,7 +871,7 @@ efFlatGlobHash(hierName)
|
||||||
{
|
{
|
||||||
return hierName->hn_hash;
|
return hierName->hn_hash;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -915,7 +915,7 @@ efFlatKills(hc)
|
||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*----
|
/*----
|
||||||
* WIP
|
* WIP
|
||||||
|
|
@ -1007,7 +1007,7 @@ efFlatCaps(hc)
|
||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1080,7 +1080,7 @@ efFlatSingleCap(hc, name1, name2, conn)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/
|
||||||
#include "utils/utils.h"
|
#include "utils/utils.h"
|
||||||
#include "extflat/extflat.h"
|
#include "extflat/extflat.h"
|
||||||
#include "extflat/EFint.h"
|
#include "extflat/EFint.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -119,7 +119,7 @@ efHierSrUses(hc, func, cdata)
|
||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ extern void EFHNFree();
|
||||||
extern void efHNInit();
|
extern void efHNInit();
|
||||||
extern void efHNRecord();
|
extern void efHNRecord();
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -139,7 +139,7 @@ EFHNIsGND(hierName)
|
||||||
return (strcmp(hierName->hn_name, "GND!") == 0);
|
return (strcmp(hierName->hn_name, "GND!") == 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -184,7 +184,7 @@ EFHNConcat(prefix, suffix)
|
||||||
|
|
||||||
return firstNew;
|
return firstNew;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -247,7 +247,7 @@ EFStrToHN(prefix, suffixStr)
|
||||||
|
|
||||||
return hierName;
|
return hierName;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -318,7 +318,7 @@ efHNToStrFunc(hierName, dstp)
|
||||||
|
|
||||||
return --dstp;
|
return --dstp;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -378,7 +378,7 @@ EFHNLook(prefix, suffixStr, errorStr)
|
||||||
|
|
||||||
return he;
|
return he;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -430,7 +430,7 @@ EFHNConcatLook(prefix, suffix, errorStr)
|
||||||
hn->hn_parent = (HierName *) NULL;
|
hn->hn_parent = (HierName *) NULL;
|
||||||
return he;
|
return he;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -468,7 +468,7 @@ EFHNFree(hierName, prefix, type)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -539,7 +539,7 @@ EFHNBest(hierName1, hierName2)
|
||||||
|
|
||||||
return (efHNLexOrder(hierName1, hierName2) > 0);
|
return (efHNLexOrder(hierName1, hierName2) > 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -577,7 +577,7 @@ efHNLexOrder(hierName1, hierName2)
|
||||||
|
|
||||||
return strcmp(hierName1->hn_name, hierName2->hn_name);
|
return strcmp(hierName1->hn_name, hierName2->hn_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -667,7 +667,7 @@ efHNFromUse(hc, prefix)
|
||||||
|
|
||||||
return hierName;
|
return hierName;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -710,7 +710,7 @@ efHNUseHash(hierName)
|
||||||
{
|
{
|
||||||
return hierName->hn_hash + (spointertype) hierName->hn_parent;
|
return hierName->hn_hash + (spointertype) hierName->hn_parent;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -758,7 +758,7 @@ efHNInit(hierName, cp, endp)
|
||||||
|
|
||||||
hierName->hn_hash = hashsum;
|
hierName->hn_hash = hashsum;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -818,7 +818,7 @@ efHNHash(hierName)
|
||||||
|
|
||||||
return n;
|
return n;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -888,7 +888,7 @@ efHNDistKill(dist)
|
||||||
|
|
||||||
freeMagic((char *) dist);
|
freeMagic((char *) dist);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -930,7 +930,7 @@ efHNBuildDistKey(prefix, dist, distKey)
|
||||||
distKey->dist_min = dist->dist_min;
|
distKey->dist_min = dist->dist_min;
|
||||||
distKey->dist_max = dist->dist_max;
|
distKey->dist_max = dist->dist_max;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -105,7 +105,7 @@ static bool efReadDef();
|
||||||
/* atoCap - convert a string to a EFCapValue */
|
/* atoCap - convert a string to a EFCapValue */
|
||||||
#define atoCap(s) ((EFCapValue)atof(s))
|
#define atoCap(s) ((EFCapValue)atof(s))
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -635,7 +635,7 @@ resistChanged:
|
||||||
|
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/
|
||||||
bool efSymAdd();
|
bool efSymAdd();
|
||||||
|
|
||||||
HashTable efSymHash;
|
HashTable efSymHash;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -69,7 +69,7 @@ efSymInit()
|
||||||
{
|
{
|
||||||
HashInit(&efSymHash, 16, HT_STRINGKEYS);
|
HashInit(&efSymHash, 16, HT_STRINGKEYS);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -116,7 +116,7 @@ efSymAddFile(name)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -170,7 +170,7 @@ efSymAdd(str)
|
||||||
HashSetValue(he, (spointertype)atoi(value));
|
HashSetValue(he, (spointertype)atoi(value));
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@ extern void efDevFixLW();
|
||||||
extern void efHNOutPrefix();
|
extern void efHNOutPrefix();
|
||||||
|
|
||||||
bool efDevKilled();
|
bool efDevKilled();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -326,7 +326,7 @@ efVisitDevs(hc, ca)
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -366,7 +366,7 @@ efDevKilled(dev, prefix)
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -439,7 +439,7 @@ skip:
|
||||||
/* Nothing */;
|
/* Nothing */;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -530,7 +530,7 @@ efVisitResists(hc, ca)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -580,7 +580,7 @@ efVisitSingleResist(hc, name1, name2, res, ca)
|
||||||
n2->efnode_name->efnn_hier,
|
n2->efnode_name->efnn_hier,
|
||||||
res->conn_res, ca->ca_cdata);
|
res->conn_res, ca->ca_cdata);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -632,7 +632,7 @@ EFVisitCaps(capProc, cdata)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -714,7 +714,7 @@ EFVisitNodes(nodeProc, cdata)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -794,7 +794,7 @@ EFNodeResist(node)
|
||||||
}
|
}
|
||||||
return (resist);
|
return (resist);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -839,7 +839,7 @@ EFLookDist(hn1, hn2, pMinDist, pMaxDist)
|
||||||
*pMaxDist = dist->dist_max;
|
*pMaxDist = dist->dist_max;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -178,7 +178,7 @@ extArray(parentUse, f)
|
||||||
extOutputConns(&ha.ha_connHash, f);
|
extOutputConns(&ha.ha_connHash, f);
|
||||||
HashKill(&ha.ha_connHash);
|
HashKill(&ha.ha_connHash);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -329,7 +329,7 @@ extArrayFunc(scx, ha)
|
||||||
|
|
||||||
return (2);
|
return (2);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -392,7 +392,7 @@ done:
|
||||||
if (extArrayPrimary) extHierFreeOne(extArrayPrimary);
|
if (extArrayPrimary) extHierFreeOne(extArrayPrimary);
|
||||||
extArrayPrimary = (ExtTree *) NULL;
|
extArrayPrimary = (ExtTree *) NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -466,7 +466,7 @@ extArrayPrimaryFunc(use, trans, x, y, ha)
|
||||||
|
|
||||||
return (1);
|
return (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -717,7 +717,7 @@ extArrayNodeName(np, ha, et1, et2)
|
||||||
|
|
||||||
return ("(none)");
|
return ("(none)");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -855,7 +855,7 @@ done:
|
||||||
*dstp = '\0';
|
*dstp = '\0';
|
||||||
return (name);
|
return (name);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -892,7 +892,7 @@ extArrayRange(dstp, lo, hi, prevRange, followRange)
|
||||||
*dstp = '\0';
|
*dstp = '\0';
|
||||||
return (dstp);
|
return (dstp);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -976,7 +976,7 @@ extArrayHardNode(tp, pNum, def, ha)
|
||||||
|
|
||||||
return ((LabRegion *) NULL);
|
return ((LabRegion *) NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -521,7 +521,7 @@ extBasic(def, outFile)
|
||||||
ExtFreeLabRegions((LabRegion *) transList);
|
ExtFreeLabRegions((LabRegion *) transList);
|
||||||
return (nodeList);
|
return (nodeList);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -737,7 +737,7 @@ extOutputNodes(nodeList, outFile)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -824,7 +824,7 @@ extFindDuplicateLabels(def, nreg)
|
||||||
if (hashInitialized)
|
if (hashInitialized)
|
||||||
HashKill(&labelHash);
|
HashKill(&labelHash);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -865,7 +865,7 @@ extNodeName(node)
|
||||||
extMakeNodeNumPrint(namebuf, node->lreg_pnum, node->lreg_ll);
|
extMakeNodeNumPrint(namebuf, node->lreg_pnum, node->lreg_ll);
|
||||||
return (namebuf);
|
return (namebuf);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ---------------------------------------------------------------------
|
* ---------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -3121,7 +3121,7 @@ extSpecialPerimFunc(bp, sense)
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -3178,7 +3178,7 @@ extTransOutTerminal(lreg, ll, whichTerm, len, outFile)
|
||||||
if (fmt == ' ')
|
if (fmt == ' ')
|
||||||
fprintf(outFile, " 0");
|
fprintf(outFile, " 0");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -3211,7 +3211,7 @@ extTransBad(def, tp, mesg)
|
||||||
}
|
}
|
||||||
extNumWarnings++;
|
extNumWarnings++;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -3252,7 +3252,7 @@ extLabType(text, typeMask)
|
||||||
}
|
}
|
||||||
/*NOTREACHED*/
|
/*NOTREACHED*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
|
|
@ -4101,7 +4101,7 @@ donesides:
|
||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -4131,7 +4131,7 @@ extGetCapValue(he)
|
||||||
extSetCapValue(he, (CapValue) 0);
|
extSetCapValue(he, (CapValue) 0);
|
||||||
return *( (CapValue *) HashGetValue(he));
|
return *( (CapValue *) HashGetValue(he));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ FILE *extFileOpen();
|
||||||
void extCellFile();
|
void extCellFile();
|
||||||
void extHeader();
|
void extHeader();
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -130,7 +130,7 @@ ExtCell(def, outName, doLength)
|
||||||
TxPrintf("\n");
|
TxPrintf("\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -218,7 +218,7 @@ extFileOpen(def, file, mode, doLocal, prealfile)
|
||||||
}
|
}
|
||||||
return (PaOpen(name, mode, ".ext", ".", ".", prealfile));
|
return (PaOpen(name, mode, ".ext", ".", ".", prealfile));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -275,7 +275,7 @@ extCellFile(def, f, doLength)
|
||||||
|
|
||||||
UndoEnable();
|
UndoEnable();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -354,7 +354,7 @@ extHeader(def, f)
|
||||||
/* Output all calls on subcells */
|
/* Output all calls on subcells */
|
||||||
(void) DBCellEnum(def, extOutputUsesFunc, (ClientData) f);
|
(void) DBCellEnum(def, extOutputUsesFunc, (ClientData) f);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -109,7 +109,7 @@ void extAdjustCouple(he, c, str)
|
||||||
fprintf(stderr, "CapDebug: %s-%s += %f (%s)\n", name1, name2, c, str);
|
fprintf(stderr, "CapDebug: %s-%s += %f (%s)\n", name1, name2, c, str);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -238,7 +238,7 @@ extRelocateSubstrateCoupling(table, subsnode)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -285,7 +285,7 @@ extOutputCoupling(table, outFile)
|
||||||
fprintf(outFile, "\"%s\" %lg\n", text, cap);
|
fprintf(outFile, "\"%s\" %lg\n", text, cap);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -356,7 +356,7 @@ extBasicOverlap(tile, ecs)
|
||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -584,7 +584,7 @@ extSubtractOverlap2(tile, ov)
|
||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -618,7 +618,7 @@ extBasicCouple(tile, ecs)
|
||||||
ecs->plane, extAddCouple, (ClientData) ecs);
|
ecs->plane, extAddCouple, (ClientData) ecs);
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -750,7 +750,7 @@ extAddCouple(bp, ecs)
|
||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -915,7 +915,7 @@ extSideOverlap(tp, esws)
|
||||||
}
|
}
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -969,7 +969,7 @@ extSideLeft(tpfar, bp)
|
||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1018,7 +1018,7 @@ extSideRight(tpfar, bp)
|
||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1067,7 +1067,7 @@ extSideTop(tpfar, bp)
|
||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -1116,7 +1116,7 @@ extSideBottom(tpfar, bp)
|
||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -246,7 +246,7 @@ success:
|
||||||
done:
|
done:
|
||||||
return (ret);
|
return (ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -360,7 +360,7 @@ extHardSetLabel(scx, reg, arg)
|
||||||
TxPrintf("Hard way: found label = \"%s\"\n", newlab->lab_text);
|
TxPrintf("Hard way: found label = \"%s\"\n", newlab->lab_text);
|
||||||
return (TRUE);
|
return (TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -452,7 +452,7 @@ extHardGenerateLabel(scx, reg, arg)
|
||||||
TxPrintf("Hard way: generated label = \"%s\"\n", newlab->lab_text);
|
TxPrintf("Hard way: generated label = \"%s\"\n", newlab->lab_text);
|
||||||
return (TRUE);
|
return (TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ int extHierConnectFunc1();
|
||||||
int extHierConnectFunc2();
|
int extHierConnectFunc2();
|
||||||
int extHierConnectFunc3();
|
int extHierConnectFunc3();
|
||||||
Node *extHierNewNode();
|
Node *extHierNewNode();
|
||||||
|
|
||||||
|
|
||||||
/*----------------------------------------------*/
|
/*----------------------------------------------*/
|
||||||
/* extHierSubstrate */
|
/* extHierSubstrate */
|
||||||
|
|
@ -643,7 +643,7 @@ extHierAdjustments(ha, cumFlat, oneFlat, lookFlat)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -722,7 +722,7 @@ extOutputConns(table, outf)
|
||||||
freeMagic((char *) nfirst);
|
freeMagic((char *) nfirst);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -767,7 +767,7 @@ extHierNewNode(he)
|
||||||
|
|
||||||
return (node);
|
return (node);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -823,7 +823,7 @@ extHierLabEach(tile, pNum, arg)
|
||||||
extSetNodeNum(reg, pNum, tile);
|
extSetNodeNum(reg, pNum, tile);
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -875,7 +875,7 @@ extHierNewOne()
|
||||||
HashInit(&et->et_coupleHash, 32, HashSize(sizeof (CoupleKey)));
|
HashInit(&et->et_coupleHash, 32, HashSize(sizeof (CoupleKey)));
|
||||||
return (et);
|
return (et);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ int extInterSubtreePaint();
|
||||||
|
|
||||||
#define BLOATBY(r, h) ( (r)->r_xbot -= (h), (r)->r_ybot -= (h), \
|
#define BLOATBY(r, h) ( (r)->r_xbot -= (h), (r)->r_ybot -= (h), \
|
||||||
(r)->r_xtop += (h), (r)->r_ytop += (h) )
|
(r)->r_xtop += (h), (r)->r_ytop += (h) )
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -144,7 +144,7 @@ extInterSubtreePaint(scx, def)
|
||||||
|
|
||||||
return (2);
|
return (2);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -208,7 +208,7 @@ extInterSubtreeClip(overlapScx, scx)
|
||||||
(ClientData) &r);
|
(ClientData) &r);
|
||||||
return (2);
|
return (2);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -246,7 +246,7 @@ extInterSubtreeElement(use, trans, x, y, r)
|
||||||
extInterSubtreeTile, (ClientData) NULL);
|
extInterSubtreeTile, (ClientData) NULL);
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -289,7 +289,7 @@ extInterSubtreeTile(tile, cxp)
|
||||||
(void) DBCellSrArea(&newscx, extInterOverlapSubtree, (ClientData) NULL);
|
(void) DBCellSrArea(&newscx, extInterOverlapSubtree, (ClientData) NULL);
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -320,7 +320,7 @@ extInterOverlapSubtree(scx)
|
||||||
(void) extTreeSrPaintArea(scx, extInterOverlapTile, (ClientData) NULL);
|
(void) extTreeSrPaintArea(scx, extInterOverlapTile, (ClientData) NULL);
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -362,7 +362,7 @@ extInterOverlapTile(tile, cxp)
|
||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*-----------------------------------------------------------------------------
|
*-----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -123,7 +123,7 @@ void extPathPairDistance();
|
||||||
void extPathFlood();
|
void extPathFlood();
|
||||||
void extPathFloodTile();
|
void extPathFloodTile();
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -161,7 +161,7 @@ ExtSetReceiver(name)
|
||||||
he = HashFind(&extReceiverHash, name);
|
he = HashFind(&extReceiverHash, name);
|
||||||
HashSetValue(he, 0);
|
HashSetValue(he, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -185,7 +185,7 @@ ExtLengthClear()
|
||||||
HashKill(&extReceiverHash);
|
HashKill(&extReceiverHash);
|
||||||
extLengthInit();
|
extLengthInit();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -209,7 +209,7 @@ extLengthInit()
|
||||||
HashInit(&extDriverHash, INITHASHSIZE, 0);
|
HashInit(&extDriverHash, INITHASHSIZE, 0);
|
||||||
HashInit(&extReceiverHash, INITHASHSIZE, 0);
|
HashInit(&extReceiverHash, INITHASHSIZE, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -314,7 +314,7 @@ extLength(rootUse, f)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -402,7 +402,7 @@ extLengthYank(use, labList)
|
||||||
|
|
||||||
return (extLengthLabelList);
|
return (extLengthLabelList);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -449,7 +449,7 @@ extLengthLabels(tile, rootUse)
|
||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -513,7 +513,7 @@ extLengthLabelsFunc(scx, label, tpath)
|
||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -547,7 +547,7 @@ extPathLabel(use, text)
|
||||||
TxError("Can't find terminal \"%s\"\n", text);
|
TxError("Can't find terminal \"%s\"\n", text);
|
||||||
return (lab);
|
return (lab);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -592,7 +592,7 @@ extPathLabelFunc(rect, text, childLab, pLabList)
|
||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -690,7 +690,7 @@ extPathResetClient(tile)
|
||||||
tile->ti_client = (ClientData) CLIENTDEFAULT;
|
tile->ti_client = (ClientData) CLIENTDEFAULT;
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -738,7 +738,7 @@ extPathPairFunc(tile, epa)
|
||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -935,7 +935,7 @@ extPathFloodFunc(dstTile, epfa)
|
||||||
extPathFlood(dstTile, p, dstDist, epfa->epfa_epa);
|
extPathFlood(dstTile, p, dstDist, epfa->epfa_epa);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -985,7 +985,7 @@ extPathFloodTile(srcTile, srcPoint, srcDist, dstTile, epa)
|
||||||
/* Recurse */
|
/* Recurse */
|
||||||
extPathFlood(dstTile, &dstPoint, dstDist, epa);
|
extPathFlood(dstTile, &dstPoint, dstDist, epa);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -88,7 +88,7 @@ void extExtractStack();
|
||||||
bool extContainsGeometry();
|
bool extContainsGeometry();
|
||||||
bool extContainsCellFunc();
|
bool extContainsCellFunc();
|
||||||
bool extTimestampMisMatch();
|
bool extTimestampMisMatch();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -153,7 +153,7 @@ ExtInit()
|
||||||
/* Initialize the hash tables used in ExtLength.c */
|
/* Initialize the hash tables used in ExtLength.c */
|
||||||
extLengthInit();
|
extLengthInit();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -228,7 +228,7 @@ extDefPushFunc(use)
|
||||||
(void) DBCellEnum(def, extDefPushFunc, (ClientData) 0);
|
(void) DBCellEnum(def, extDefPushFunc, (ClientData) 0);
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -288,7 +288,7 @@ ExtUnique(rootUse, option)
|
||||||
if (nwarn)
|
if (nwarn)
|
||||||
TxError("%d uncorrected errors (see the feedback info)\n", nwarn);
|
TxError("%d uncorrected errors (see the feedback info)\n", nwarn);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -366,7 +366,7 @@ extDefParentFunc(def)
|
||||||
if (parent->cu_parent)
|
if (parent->cu_parent)
|
||||||
extDefParentFunc(parent->cu_parent);
|
extDefParentFunc(parent->cu_parent);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -501,7 +501,7 @@ extContainsPaintFunc()
|
||||||
{
|
{
|
||||||
return (1);
|
return (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
@ -603,7 +603,7 @@ closeit:
|
||||||
(void) fclose(extFile);
|
(void) fclose(extFile);
|
||||||
return (ret);
|
return (ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -321,7 +321,7 @@ fail:
|
||||||
}
|
}
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue