Skip to content
Tcl Source Code View Ticket
Login

View Ticket

erroneous references to Tcl_RenameCommand

Closed / Fixed848440ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2003-11-24 17:33:12
joel haugen reports in clt:
Does anyone know where I can find the description of
this command?  It
is referred to in the description of Tcl_CreateObjCommand:

"Note that neither Tcl_SetCommandInfo nor
Tcl_SetCommandInfoFromToken
will change a command's namespace. You must use
Tcl_RenameCommand to
do that." (from ASPNTcl documentation)

I can't seem to find it anywhere.  I am not relying on
this function
but am more curious than anything else.
dkfplain2004-05-06 03:46:26
Logged In: YES 
user_id=79902

There are four locations in the core that refer to
Tcl_RenameCommand().  Internally, we should refer to
TclRenameCommand() instead.  Externally, we should instruct
people to just call [rename] with Tcl_Eval().

Can't fix the source right now; other changes are in the way
in my sandbox.
dkfplain2004-05-06 03:56:08
Logged In: YES 
user_id=79902

Removed references to Tcl_RenameCommand from docs.
dkfplain2004-05-25 15:38:00
Logged In: YES 
user_id=79902

Removed from comments
Log in (anonymous is fine) to add a comment.