Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Tcl_InitStringRep has no description in doc/ObjectType.3

Open78f442143662d7cf9c4447fbe10560b98ec81b1aCreated 2 years agoUpdated 2 years ago
Descriptionmarkdown2025-05-02 11:44:34

The command Tcl_InitStringRep is listed as command in file [doc/ObjectType.3].

But there is no description what it does. Specially, there is no info, that it may panic or return NULL on memory issues.

I checked the main branch, but probably all branches are affected.

It was not documented in tcl 8.6. TIP 445 introduced it and has a description. The NULL return for memory error is documented there.

oehhar Ticket [78f4421436]: 3 changes [History diff]2025-05-02 11:56:53
oehharwiki2025-05-02 12:33:44

Checkin [8f9c7f5fd8] copies the TIP text to the documentation. This is better than nothing. Even if the issue is forwarded to an internal macro, which is not described in the docs.

Jan, if you like it, just merge the branch to main and 9.0...

Thanks, Harald

oehharwiki2025-05-02 12:34:35

Ah sorry, I forgot to put it into a branch. So, if you dont like it, revert it. Sorry for the error, Harald

dgpplain2025-05-02 16:27:11
It's been a long time coming, but now here is the punishment
for my sins.
dgp Ticket [78f4421436]: 3 changes [History diff]2025-05-02 16:27:36
dgp Ticket [78f4421436]: 3 changes [History diff]2025-05-02 16:28:08
oehharplain2025-05-02 16:36:53
No problem, Donald.
We are getting better each day ;-).

If you give me a better doc text, I will care to update...

Thanks for all,
Harald
Log in (anonymous is fine) to add a comment.