MCPcopy Create free account
hub / github.com/SimHacker/micropolis / ClearOptionTree

Function ClearOptionTree

micropolis-activity/src/tk/tkoption.c:1249–1264  ·  view source on GitHub ↗
(arrayPtr)

Source from the content-addressed store, hash-verified

1247 *
1248 * This procedure is called to erase everything in a
1249 * hierarchical option database.
1250 *
1251 * Results:
1252 * None.
1253 *
1254 * Side effects:
1255 * All the options associated with arrayPtr are deleted,
1256 * along with all option subtrees. The space pointed to
1257 * by arrayPtr is freed.
1258 *
1259 *--------------------------------------------------------------
1260 */
1261
1262static void
1263ClearOptionTree(arrayPtr)
1264 ElArray *arrayPtr; /* Array of options; delete everything
1265 * referred to recursively by this. */
1266{
1267 register Element *elPtr;

Callers 2

Tk_OptionCmdFunction · 0.85
TkOptionDeadWindowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected