Tcl Source Code

View Ticket
Login
EuroTcl/OpenACS 11 - 12 JULY 2024, VIENNA
Ticket UUID: 0f3e1921c558aeb06aa9e7ff1f086383b6895a4e
Title: TIP 426 C API not implemented
Type: Bug Version: 8.7
Submitter: apnadkarni Created on: 2024-05-19 06:34:09
Subsystem: - New Builtin Commands Assigned To: dkf
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2024-05-22 03:43:53
Resolution: None Closed By: nobody
    Closed on:
Description:

Only logging this ticket in case this is an oversight and not intentional. TIP 426 as voted defines the public API's Tcl_RegisterCommandTypeName and Tcl_GetCommandTypeName.

I do not however find these functions defined in tcl.decls.

User Comments: apnadkarni added on 2024-05-22 03:43:53:
Donal, please close ticket if the functions in question were not exported by intent.

apnadkarni added on 2024-05-20 03:13:30:
I do not have any particular need for the aforementioned functions so I am fine leaving things as they are. Only brought it up in case they were omitted as an oversight and not by intent.

jan.nijtmans added on 2024-05-19 11:21:26:

That said, I don't object to making this public (if there is an interest implementing the Tk-part, as mentioned in the TIP). In that case, I recommend only doing this for 9.0, not for 8.7.


jan.nijtmans added on 2024-05-19 11:15:52:

I don't think it's difficult to add those to the public API: Those functions are MODULE_SCOPE, and named `TclRegisterCommandTypeName`/`TclGetCommandTypeName`. But ... would any extension need those?

I think the answer to this question is `No`, so I would suggest to leave the implementation as-is. We can modify the TIP, mentioning this change-of-insight.