summaryrefslogtreecommitdiffstats
path: root/generic/tclVar.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-04-19 08:41:15 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-04-19 08:41:15 (GMT)
commit9c56563bbe703e1bd7c267c6a43c8f62b978ae11 (patch)
tree391f40c9bb7a0b2c7f0ac555052b0e73c35e17f7 /generic/tclVar.c
parentce72cf1a029fcf4ca5d5fd7e7bd1925cf53351de (diff)
parent67e2135f3ad85c23c2093c309e90204ee4b81d77 (diff)
downloadtcl-9c56563bbe703e1bd7c267c6a43c8f62b978ae11.zip
tcl-9c56563bbe703e1bd7c267c6a43c8f62b978ae11.tar.gz
tcl-9c56563bbe703e1bd7c267c6a43c8f62b978ae11.tar.bz2
Implement many Tcl_*Var* functions and Tcl_GetIndexFromObj as (faster/stack-saving) macros around resp their Tcl_*Var*2 equivalent and Tcl_GetIndexFromObjStruct
Diffstat (limited to 'generic/tclVar.c')
-rw-r--r--generic/tclVar.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/tclVar.c b/generic/tclVar.c
index f4f83a4..12d6911 100644
--- a/generic/tclVar.c
+++ b/generic/tclVar.c
@@ -1234,6 +1234,7 @@ TclLookupArrayElement(
*----------------------------------------------------------------------
*/
+#undef Tcl_GetVar
const char *
Tcl_GetVar(
Tcl_Interp *interp, /* Command interpreter in which varName is to
@@ -1556,6 +1557,7 @@ Tcl_SetObjCmd(
*----------------------------------------------------------------------
*/
+#undef Tcl_SetVar
const char *
Tcl_SetVar(
Tcl_Interp *interp, /* Command interpreter in which varName is to
@@ -2146,6 +2148,7 @@ TclPtrIncrObjVar(
*----------------------------------------------------------------------
*/
+#undef Tcl_UnsetVar
int
Tcl_UnsetVar(
Tcl_Interp *interp, /* Command interpreter in which varName is to
@@ -3785,6 +3788,7 @@ TclPtrObjMakeUpvar(
*----------------------------------------------------------------------
*/
+#undef Tcl_UpVar
int
Tcl_UpVar(
Tcl_Interp *interp, /* Command interpreter in which varName is to