summaryrefslogtreecommitdiffstats
path: root/generic/tclTestObj.c
diff options
context:
space:
mode:
authorgriffin <briang42@easystreet.net>2023-08-12 23:14:43 (GMT)
committergriffin <briang42@easystreet.net>2023-08-12 23:14:43 (GMT)
commitbaa91f87baabfa31e9174c78f76125d98d891b4e (patch)
treec9a925bd14a109fd68acf52b65f5cbb180639be4 /generic/tclTestObj.c
parent946847b4b9f3b9b7aa252d830921d41033d5175b (diff)
downloadtcl-baa91f87baabfa31e9174c78f76125d98d891b4e.zip
tcl-baa91f87baabfa31e9174c78f76125d98d891b4e.tar.gz
tcl-baa91f87baabfa31e9174c78f76125d98d891b4e.tar.bz2
Rename Tcl_BumpObj() to Tcl_BounceRefCount().
After the presentation on Abstract Lists at the 2023 OpenACS/Tcl Conference, there was a strong opinion that this function should be renamed. The results of an informal poll had a tie between Tcl_DoneWithObj() and Tcl_BounceRefCount(). Having seen a reference to "Bounce" in a research paper on Ref Counting, I chose to use Tcl_BounceRefCount().
Diffstat (limited to 'generic/tclTestObj.c')
-rw-r--r--generic/tclTestObj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclTestObj.c b/generic/tclTestObj.c
index 6a0d47d..682b41d 100644
--- a/generic/tclTestObj.c
+++ b/generic/tclTestObj.c
@@ -982,7 +982,7 @@ TestlistobjCmd(
TCL_INDEX_NONE));
/* Keep looping since we are also looping for leaks */
}
- Tcl_BumpObj(objP);
+ Tcl_BounceRefCount(objP);
}
break;