summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorhobbs <hobbs>2007-11-12 22:05:58 (GMT)
committerhobbs <hobbs>2007-11-12 22:05:58 (GMT)
commitf1697bec1072b46875019441e44ac305288cd658 (patch)
tree87d33fa3a33237a1abfb38b42c82fdd60056edc5 /generic
parent5c580ccbee988b69cd0d437ef86cf946c4fe938d (diff)
downloadtcl-f1697bec1072b46875019441e44ac305288cd658.zip
tcl-f1697bec1072b46875019441e44ac305288cd658.tar.gz
tcl-f1697bec1072b46875019441e44ac305288cd658.tar.bz2
* generic/tclGet.c (Tcl_Get, Tcl_GetInt): revert use of TclGet*
macros due to compiler warning. These cases won't save time either.
Diffstat (limited to 'generic')
-rw-r--r--generic/tclGet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclGet.c b/generic/tclGet.c
index 57530bc..1b08b84 100644
--- a/generic/tclGet.c
+++ b/generic/tclGet.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclGet.c,v 1.18 2007/11/11 19:32:15 msofer Exp $
+ * RCS: @(#) $Id: tclGet.c,v 1.19 2007/11/12 22:05:59 hobbs Exp $
*/
#include "tclInt.h"
@@ -50,7 +50,7 @@ Tcl_GetInt(
obj.length = strlen(src);
obj.typePtr = NULL;
- code = TclGetIntFromObj(interp, &obj, intPtr);
+ code = Tcl_GetIntFromObj(interp, &obj, intPtr);
if (obj.refCount > 1) {
Tcl_Panic("invalid sharing of Tcl_Obj on C stack");
}
@@ -94,7 +94,7 @@ TclGetLong(
obj.length = strlen(src);
obj.typePtr = NULL;
- code = TclGetLongFromObj(interp, &obj, longPtr);
+ code = Tcl_GetLongFromObj(interp, &obj, longPtr);
if (obj.refCount > 1) {
Tcl_Panic("invalid sharing of Tcl_Obj on C stack");
}