Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Open0ecc9116b02bfe753716283ff84d6ee346b8dc34Created 1 year agoUpdated 1 year ago
Descriptionmarkdown2025-06-07 16:52:01

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!

apnadkarnimarkdown2025-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.

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