summaryrefslogtreecommitdiffstats
path: root/src/bltSwitch.C
diff options
context:
space:
mode:
authorjoye <joye>2014-07-08 19:55:45 (GMT)
committerjoye <joye>2014-07-08 19:55:45 (GMT)
commitd94450a5cfe4e5e7117cdc87e20d906f843e9990 (patch)
tree0855ba38b4c83cbfe50b485b22a845294e3f6bd4 /src/bltSwitch.C
parentd9392c93890e89f29b64c963e8ff39c6e8d402a9 (diff)
downloadblt-d94450a5cfe4e5e7117cdc87e20d906f843e9990.zip
blt-d94450a5cfe4e5e7117cdc87e20d906f843e9990.tar.gz
blt-d94450a5cfe4e5e7117cdc87e20d906f843e9990.tar.bz2
*** empty log message ***
Diffstat (limited to 'src/bltSwitch.C')
-rw-r--r--src/bltSwitch.C6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bltSwitch.C b/src/bltSwitch.C
index bb4a62f..291d232 100644
--- a/src/bltSwitch.C
+++ b/src/bltSwitch.C
@@ -39,6 +39,8 @@ using namespace std;
#include "bltSwitch.h"
+using namespace Blt;
+
#define COUNT_NNEG 0
#define COUNT_POS 1
#define COUNT_ANY 2
@@ -295,7 +297,7 @@ static int DoSwitch(Tcl_Interp* interp, Blt_SwitchSpec *sp,
return TCL_OK;
}
-int Blt_ParseSwitches(Tcl_Interp* interp, Blt_SwitchSpec *specs,
+int Blt::ParseSwitches(Tcl_Interp* interp, Blt_SwitchSpec *specs,
int objc, Tcl_Obj* const objv[], void *record,
int flags)
{
@@ -372,7 +374,7 @@ int Blt_ParseSwitches(Tcl_Interp* interp, Blt_SwitchSpec *specs,
return count;
}
-void Blt_FreeSwitches(Blt_SwitchSpec *specs, void *record, int needFlags)
+void Blt::FreeSwitches(Blt_SwitchSpec *specs, void *record, int needFlags)
{
for (Blt_SwitchSpec *sp = specs; sp->type != BLT_SWITCH_END; sp++) {
if ((sp->flags & needFlags) == needFlags) {