summaryrefslogtreecommitdiffstats
path: root/generic/tclLink.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-10-18 11:57:36 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-10-18 11:57:36 (GMT)
commitd29c3178051f09e66db3204230d26fa28364fdd4 (patch)
treea5f6ebf5a533405ecd7064eb0f69ccdfd61b84eb /generic/tclLink.c
parentafa0f7421bb00ea52020c1118c980b7045a38ddc (diff)
parent43d72b8d8e0d029c39b3c9abbb84f196aed496f5 (diff)
downloadtcl-d29c3178051f09e66db3204230d26fa28364fdd4.zip
tcl-d29c3178051f09e66db3204230d26fa28364fdd4.tar.gz
tcl-d29c3178051f09e66db3204230d26fa28364fdd4.tar.bz2
Merge 8.7. Remove -stoponerror option
Diffstat (limited to 'generic/tclLink.c')
-rw-r--r--generic/tclLink.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclLink.c b/generic/tclLink.c
index 02b19aa..34ad67b 100644
--- a/generic/tclLink.c
+++ b/generic/tclLink.c
@@ -588,7 +588,7 @@ GetDouble(
return 0;
} else {
#ifdef ACCEPT_NAN
- Tcl_ObjIntRep *irPtr = TclFetchIntRep(objPtr, &tclDoubleType);
+ Tcl_ObjInternalRep *irPtr = TclFetchInternalRep(objPtr, &tclDoubleType);
if (irPtr != NULL) {
*dblPtr = irPtr->doubleValue;
@@ -656,7 +656,7 @@ SetInvalidRealFromAny(
double doubleValue = 0.0;
Tcl_GetDoubleFromObj(NULL, objPtr, &doubleValue);
- TclFreeIntRep(objPtr);
+ TclFreeInternalRep(objPtr);
objPtr->typePtr = &invalidRealType;
objPtr->internalRep.doubleValue = doubleValue;
return TCL_OK;
@@ -705,7 +705,7 @@ GetInvalidDoubleFromObj(
{
int intValue;
- if (TclHasIntRep(objPtr, &invalidRealType)) {
+ if (TclHasInternalRep(objPtr, &invalidRealType)) {
goto gotdouble;
}
if (GetInvalidIntFromObj(objPtr, &intValue) == TCL_OK) {