Overview
| Artifact ID: | cc9d8dde9e2d797771a68174dc6010611a54ab03f0f29271c47272dbb7c170f2 |
|---|---|
| Ticket: | b5bd08df8d61b4ea9bf0cc885f790b367c430a9f
The "int" type registration should be restored. |
| User & Date: | jan.nijtmans on 2024-07-01 21:41:55 |
Changes
- icomment:
Please have a look at [https://core.tcl-lang.org/tk/info/42ad10c0b55dec60|this] commit. It's a demonstration (in Tk) how Tcl_GetNumberFromObj() can be used instead of the registered types. Please explain why this isn't a 'correct' solution: If the objType is already set to one of the elementary types, Tcl_GetNumberFromObj() just returns immediately without parsing the string. Would it help if the "boolean" or "index" types were added to Tcl_GetNumberFromObj() too, as additional enum's? Honest, what use-case you have for tclExprCodeType and tclEnsembleCmdType for tkInter? I cannot think of anything.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"