summaryrefslogtreecommitdiffstats
path: root/generic/tclProc.c
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2013-04-23 14:15:14 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2013-04-23 14:15:14 (GMT)
commit466b7d31915ffd26d8c0064dd9b8807699f1c17b (patch)
tree805c4003273af068deded070c54d4f0cfa0a3f27 /generic/tclProc.c
parentf88d553cbc6e47e3c45dd5bb843e7e7cdd579580 (diff)
parent2ef0ed4a5de77d23c3427036743264b107c4c484 (diff)
downloadtcl-466b7d31915ffd26d8c0064dd9b8807699f1c17b.zip
tcl-466b7d31915ffd26d8c0064dd9b8807699f1c17b.tar.gz
tcl-466b7d31915ffd26d8c0064dd9b8807699f1c17b.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/tclProc.c')
-rw-r--r--generic/tclProc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclProc.c b/generic/tclProc.c
index 13f6f8a..18985a1 100644
--- a/generic/tclProc.c
+++ b/generic/tclProc.c
@@ -837,7 +837,7 @@ TclObjGetFrame(
}
/* TODO: Consider skipping the typePtr checks */
} else if (objPtr->typePtr == &tclIntType
-#ifndef NO_WIDE_TYPE
+#ifndef TCL_WIDE_INT_IS_LONG
|| objPtr->typePtr == &tclWideIntType
#endif
) {