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)
commit11979212034749abf932b579dcfd441bfc4eace1 (patch)
tree391f40c9bb7a0b2c7f0ac555052b0e73c35e17f7 /generic/tclVar.c
parent5cbeb42aff4e8dfc673702621d1e9b339b39bb7b (diff)
parent911c3a02b554f5709f1c9bcabf7694897076d284 (diff)
downloadtcl-11979212034749abf932b579dcfd441bfc4eace1.zip
tcl-11979212034749abf932b579dcfd441bfc4eace1.tar.gz
tcl-11979212034749abf932b579dcfd441bfc4eace1.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