Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2012-02-21
17:27 • Closed ticket [3482614fff]: Documentation - Tcl_GetReturnOptions contradiction/t... artifact: 37023a9761 user: dkf
2012-02-01
20:05 • Ticket [3482614fff]: 1 change artifact: cf16527f14 user: dkf
20:05 • Ticket [3482614fff]: 4 changes artifact: 4b482c0ffc user: dkf
05:59 • New ticket [3482614fff]. artifact: 25cbfe6fe6 user: apnadkarni

Documentation - Tcl_GetReturnOptions contradiction/typo

Closed / Fixed3482614fffffffffffffffffffffffffffffffffCreated 15 years agoUpdated 15 years ago
Descriptionplain2012-02-01 05:59:08
From the Tcl_GetReturnOptions documentation: "The (Tcl_Obj *) returned by Tcl_GetReturnOptions points to an unshared Tcl_Obj with reference count of zero. The dictionary may be written to, either adding, removing, or overwriting any entries in it, with the need to check for a shared object."

The "with" should be "without" ? Also, it might help if there was an explicit statement that the returned Tcl_Obj must be Tcl_DecrRefCount or otherwise disposed of. This is unlike Tcl_GetObjResult.
dkfplain2012-02-01 20:05:15
Sorted out the bit which was wrong. Keeping open to consider the "additional advice" part.
dkf Ticket [3482614fff]: 1 change [History diff]2012-02-01 20:05:16
dkfplain2012-02-21 17:27:27
allow_comments - 1
Log in (anonymous is fine) to add a comment.