summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-04-23 14:15:14 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-04-23 14:15:14 (GMT)
commita05551fb2f2d4f0a8fe3bc93e2afdd7ad0227a7c (patch)
tree805c4003273af068deded070c54d4f0cfa0a3f27 /generic/tclBasic.c
parent07ba32a73f1d629e2d4eedadcbed4b165dbcab7f (diff)
parent7e4b7690f3583ba3196f7e17fec6c8113170ae4b (diff)
downloadtcl-a05551fb2f2d4f0a8fe3bc93e2afdd7ad0227a7c.zip
tcl-a05551fb2f2d4f0a8fe3bc93e2afdd7ad0227a7c.tar.gz
tcl-a05551fb2f2d4f0a8fe3bc93e2afdd7ad0227a7c.tar.bz2
Implement Tcl_NewBooleanObj, Tcl_DbNewBooleanObj and Tcl_SetBooleanObj as macros using Tcl_NewIntObj, Tcl_DbNewLongObj and Tcl_SetIntObj.
Starting with Tcl 8.5, this is exactly the same, it only eliminates code duplication. Eliminate use of NO_WIDE_TYPE everywhere: It's exactly the same as TCL_WIDE_INT_IS_LONG
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r--generic/tclBasic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index cde1cb9..b39d346 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -7478,7 +7478,7 @@ ExprAbsFunc(
return TCL_OK;
}
-#ifndef NO_WIDE_TYPE
+#ifndef TCL_WIDE_INT_IS_LONG
if (type == TCL_NUMBER_WIDE) {
Tcl_WideInt w = *((const Tcl_WideInt *) ptr);