summaryrefslogtreecommitdiffstats
path: root/generic/tclOOCall.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-10-08 08:40:13 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-10-08 08:40:13 (GMT)
commitdc3f6d563581732f92fee45770fc0df934a6030a (patch)
tree91576610da0facf523870237ac4f2ac93d66d598 /generic/tclOOCall.c
parenta98efaafa6b86209e60980fa6da27a6679d2ec6b (diff)
parent343851002d0cb0f2939aaf96a761357f0b7c972f (diff)
downloadtcl-dc3f6d563581732f92fee45770fc0df934a6030a.zip
tcl-dc3f6d563581732f92fee45770fc0df934a6030a.tar.gz
tcl-dc3f6d563581732f92fee45770fc0df934a6030a.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tclOOCall.c')
-rw-r--r--generic/tclOOCall.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/generic/tclOOCall.c b/generic/tclOOCall.c
index 0b2c2f3..60666f4 100644
--- a/generic/tclOOCall.c
+++ b/generic/tclOOCall.c
@@ -247,12 +247,12 @@ StashCallChain(
Tcl_Obj *objPtr,
CallChain *callPtr)
{
- Tcl_ObjIntRep ir;
+ Tcl_ObjInternalRep ir;
callPtr->refCount++;
TclGetString(objPtr);
ir.twoPtrValue.ptr1 = callPtr;
- Tcl_StoreIntRep(objPtr, &methodNameType, &ir);
+ Tcl_StoreInternalRep(objPtr, &methodNameType, &ir);
}
void
@@ -280,7 +280,7 @@ DupMethodNameRep(
Tcl_Obj *dstPtr)
{
StashCallChain(dstPtr,
- (CallChain *)TclFetchIntRep(srcPtr, &methodNameType)->twoPtrValue.ptr1);
+ (CallChain *)TclFetchInternalRep(srcPtr, &methodNameType)->twoPtrValue.ptr1);
}
static void
@@ -288,7 +288,7 @@ FreeMethodNameRep(
Tcl_Obj *objPtr)
{
TclOODeleteChain(
- (CallChain *)TclFetchIntRep(objPtr, &methodNameType)->twoPtrValue.ptr1);
+ (CallChain *)TclFetchInternalRep(objPtr, &methodNameType)->twoPtrValue.ptr1);
}
/*
@@ -1189,16 +1189,16 @@ TclOOGetCallContext(
* the object, and in the class).
*/
- const Tcl_ObjIntRep *irPtr;
+ const Tcl_ObjInternalRep *irPtr;
const int reuseMask = (WANT_PUBLIC(flags) ? ~0 : ~PUBLIC_METHOD);
- if ((irPtr = TclFetchIntRep(cacheInThisObj, &methodNameType))) {
+ if ((irPtr = TclFetchInternalRep(cacheInThisObj, &methodNameType))) {
callPtr = (CallChain *)irPtr->twoPtrValue.ptr1;
if (IsStillValid(callPtr, oPtr, flags, reuseMask)) {
callPtr->refCount++;
goto returnContext;
}
- Tcl_StoreIntRep(cacheInThisObj, &methodNameType, NULL);
+ Tcl_StoreInternalRep(cacheInThisObj, &methodNameType, NULL);
}
if (oPtr->flags & USE_CLASS_CACHE) {