Skip to content
Tcl Source Code Artifact [5dd9a99286]
Login

Artifact [5dd9a99286]

Artifact 5dd9a99286b458fd8304b71f2295ffd8334e5779:

Ticket change [5dd9a99286] - Ticket [2507159fffffffff|2507159fff] <i>Tcl_Command validity management</i> status still Open with 4 other changes by dgp on 2009-01-15 02:08:23.
D 2009-01-15T02:08:23
J icomment \nOne\sidea\show\scallers\smight\sdeal\nwith\sthe\scurrent\ssituation.\s\sRather\nthan\sdirectly\sstore\sa\sTcl_Command,\narrange\sto\sstore\san\sunshared\sTcl_Obj\nand\suse\sTcl_GetCommandFromObj()\sto\nmanipulate\sit\sinto\sthe\s"cmdName"\nTcl_ObjType.\s\sThe\sintrep\smanagement\nbuiltin\sto\sthat\sTcl_ObjType\swill\s\ntake\scare\sof\sthe\sCommand\srefCounts\nto\skeep\sthe\sstruct\salive.\s\sWhenever\nthe\sTcl_Command\svalue\sis\sneeded,\nanother\scall\sto\sTcl_GetCommandFromObj()\nwill\sfetch\sit.\s\sWhen\sreally\sdone\swith\nthe\svalue,\sjust\sTcl_DecrRefCount\sto\smake\nthe\sTcl_Obj\sand\sits\sintrep\sgo\saway.\n\nThere's\sprobably\sstill\ssome\sugliness\non\show\sto\shandle\srenames.\s\sHmmm....\n\n
J login dgp
J mimetype text/plain
J username dgp
K 2507159fffffffffffffffffffffffffffffffff
U dgp
Z f61176ca005a45b3762924966a720fd9