|
2014-09-11
| ||
| 13:21 | • Closed ticket [733945ffff]: Odd result type of Tcl_HashStats plus 6 other ch... artifact: 0343ef42d1 user: jan.nijtmans | |
| 12:48 | • Ticket [733945ffff]: 6 changes artifact: c39663bd9e user: dkf | |
|
2003-05-13
| ||
| 19:28 | • Ticket [733945ffff]: 1 change artifact: 1cf6f7da48 user: dkf | |
| 00:39 | • Ticket [733945ffff]: 4 changes artifact: 772eab7ebf user: dgp | |
|
2003-05-07
| ||
| 15:30 | • New ticket [733945ffff]. artifact: a3510c385b user: dkf | |
Odd result type of Tcl_HashStats
Closed / Fixed733945ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 12 years ago
Descriptionplain2003-05-07 15:30:36
The result type of Tcl_HashStats() is 'CONST char *' but this is a dynamically allocated string and modification of it should not be a problem. It seems stupid to have to cast the value just to pass it into either Tcl_SetResult() or ckfree(), both of which are intended uses!
dgpplain2003-05-13 00:39:08
Logged In: YES user_id=80530 Agreed. I'm reluctant to change it now, since it's a public interface. We could add an internal version with a better return type, if you like. Overall, I think the interface is of limited utility anyway. Would not bother me if it disappeared.
dkf Ticket [733945ffff]: 1 change
[History diff]2003-05-13 19:28:42
dkf Ticket [733945ffff]: 6 changes
[History diff]2014-09-11 12:48:22
jan.nijtmanswiki2014-09-11 13:21:15
Already fixed: [2b7fc9b444]
Closing
Log in (anonymous is fine) to add a comment.