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.