summaryrefslogtreecommitdiffstats
path: root/src/bltSwitch.C
diff options
context:
space:
mode:
authorjoye <joye>2014-01-07 18:30:47 (GMT)
committerjoye <joye>2014-01-07 18:30:47 (GMT)
commitd0cbf131b0c7498957051c7d06427a9e1250ada9 (patch)
treebc05c493cee5fb9d22f9fa265adc55d9c5bfffff /src/bltSwitch.C
parent335a963f99951904d0c9a6ffbf8290ecdcff3b4d (diff)
downloadblt-d0cbf131b0c7498957051c7d06427a9e1250ada9.zip
blt-d0cbf131b0c7498957051c7d06427a9e1250ada9.tar.gz
blt-d0cbf131b0c7498957051c7d06427a9e1250ada9.tar.bz2
*** empty log message ***
Diffstat (limited to 'src/bltSwitch.C')
-rw-r--r--src/bltSwitch.C36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/bltSwitch.C b/src/bltSwitch.C
index ff17d60..16cdd38 100644
--- a/src/bltSwitch.C
+++ b/src/bltSwitch.C
@@ -472,42 +472,6 @@ Blt_FreeSwitches(
}
}
-/*
- *---------------------------------------------------------------------------
- *
- * Blt_SwitchModified --
- *
- * Given the configuration specifications and one or more switch patterns
- * (terminated by a NULL), indicate if any of the matching switches has
- * been reset.
- *
- * Results:
- * Returns 1 if one of the switches have changed, 0 otherwise.
- *
- *---------------------------------------------------------------------------
- */
-int
-Blt_SwitchChanged TCL_VARARGS_DEF(Blt_SwitchSpec *, arg1)
-{
- va_list argList;
- Blt_SwitchSpec *specs;
- Blt_SwitchSpec *sp;
- char *switchName;
-
- specs = TCL_VARARGS_START(Blt_SwitchSpec *, arg1, argList);
- while ((switchName = va_arg(argList, char *)) != NULL) {
- for (sp = specs; sp->type != BLT_SWITCH_END; sp++) {
- if ((Tcl_StringMatch(sp->switchName, switchName)) &&
- (sp->flags & BLT_SWITCH_SPECIFIED)) {
- va_end(argList);
- return 1;
- }
- }
- }
- va_end(argList);
- return 0;
-}
-
int
Blt_ExprDoubleFromObj(Tcl_Interp *interp, Tcl_Obj *objPtr, double *valuePtr)
{