diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-10-06 19:33:03 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-10-06 19:33:03 (GMT) |
| commit | 0b1f6ed09a118b4d974ca8048adec672061662d1 (patch) | |
| tree | dda00b3fc3eedbee6e11a3f382d2cea89a5bc77d /macosx/tclMacOSXFCmd.c | |
| parent | fa2cb7883beede585b4082ff56dc6cb16872553b (diff) | |
| download | tcl-0b1f6ed09a118b4d974ca8048adec672061662d1.zip tcl-0b1f6ed09a118b4d974ca8048adec672061662d1.tar.gz tcl-0b1f6ed09a118b4d974ca8048adec672061662d1.tar.bz2 | |
Change "IntRep" to "InternalRep", as discussed in the Tcl Core mailing list
Diffstat (limited to 'macosx/tclMacOSXFCmd.c')
| -rw-r--r-- | macosx/tclMacOSXFCmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tclMacOSXFCmd.c b/macosx/tclMacOSXFCmd.c index a70a789..1717c3c 100644 --- a/macosx/tclMacOSXFCmd.c +++ b/macosx/tclMacOSXFCmd.c @@ -577,7 +577,7 @@ GetOSTypeFromObj( { int result = TCL_OK; - if (!TclHasIntRep(objPtr, &tclOSTypeType)) { + if (!TclHasInternalRep(objPtr, &tclOSTypeType)) { result = SetOSTypeFromAny(interp, objPtr); } *osTypePtr = (OSType) objPtr->internalRep.wideValue; @@ -659,7 +659,7 @@ SetOSTypeFromAny( (OSType) bytes[1] << 16 | (OSType) bytes[2] << 8 | (OSType) bytes[3]; - TclFreeIntRep(objPtr); + TclFreeInternalRep(objPtr); objPtr->internalRep.wideValue = (Tcl_WideInt) osType; objPtr->typePtr = &tclOSTypeType; } |
