summaryrefslogtreecommitdiffstats
path: root/generic/tclObj.c
diff options
context:
space:
mode:
authorpooryorick <com.digitalsmarties@pooryorick.com>2023-05-14 08:21:50 (GMT)
committerpooryorick <com.digitalsmarties@pooryorick.com>2023-05-14 08:21:50 (GMT)
commit48d6b3d84c72484ce405d0c3f3c3c301b2222331 (patch)
treea69c260a9ba32feccfb7793e7aab03c8665d4667 /generic/tclObj.c
parentaafa141509243b40b852ef16b1810de96659d658 (diff)
downloadtcl-48d6b3d84c72484ce405d0c3f3c3c301b2222331.zip
tcl-48d6b3d84c72484ce405d0c3f3c3c301b2222331.tar.gz
tcl-48d6b3d84c72484ce405d0c3f3c3c301b2222331.tar.bz2
Rename TclRelaxRefCount() to TclUndoRefCount().
Diffstat (limited to 'generic/tclObj.c')
-rw-r--r--generic/tclObj.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclObj.c b/generic/tclObj.c
index 97e262b..2044b7e 100644
--- a/generic/tclObj.c
+++ b/generic/tclObj.c
@@ -3725,7 +3725,7 @@ Tcl_DecrRefCount(
/*
*----------------------------------------------------------------------
*
- * TclRelaxRefCount --
+ * TclUndoRefCount --
*
* Decrement the refCount of objPtr without causing it to be freed if it
* drops from 1 to 0. This allows a function increment a refCount but
@@ -3736,7 +3736,7 @@ Tcl_DecrRefCount(
*----------------------------------------------------------------------
*/
void
-TclRelaxRefCount(
+TclUndoRefCount(
Tcl_Obj *objPtr) /* The object we are releasing a reference to. */
{
if (objPtr->refCount > 0) {