Tcl Source Code

View Ticket
Login
Ticket UUID: 0ecc9116b02bfe753716283ff84d6ee346b8dc34
Title:
Type: Bug Created on: 2025-06-07 16:52:01
Submitter: griffin Assigned to: nobody
Subsystem: 69. Other Severity: Important
Priority: 5 Medium Last modified: 2025-06-08 05:57:56
Status: Open Closed by: nobody
Resolution: None Closed on:
Version: 9.0
Description:

I was looking through the Tcl 9 porting guides looking for a description of the Tcl_ObjCmdProc & Tcl_ObjCmdProc2, and all its associated explanation.

I do not find any mention of it, except for a brief point about CONST to const change.

These functions have Tcl_Size parameters, so should be part of the list of functions using Tcl_Size.

Did I miss it somewhere? Can this be added to the porting guide?

This is a great resource by the way. I appreciate having it available!

User Comments:
apnadkarni added on 2025-06-08 05:57:56:

There are multiple guides :-) so not sure which one you are referring to but they are all community driven so you can go ahead and add anything you feel is missing.

In this particular case, I don't think any more detail (other than may be a mention) is needed in the migration guides since the Tcl_CreateObjCommmand manpage fully describes both.

I am also ambivalent about advertising the Tcl_CreateObjCommand2 form as Tcl as of now does not support more than 2**31-1 arguments, TIP 626 passing being a necessary (and sufficient?) condition.