Overview
| Artifact ID: | b2c692dc1e2df7f865d87a975dab4549af0a7fb6 |
|---|---|
| Ticket: | 4955f5d8a4dce006e063f924bc9709f7850ecb6a
tailcall splicing spot vs. raw TclInvokeObjectCommand |
| User & Date: | ferrieux on 2014-05-18 09:11:23 |
Changes
- icomment:
I suspect that the Ocaml guys chose *that* way of calling into Tcl because, among all the Tcl_Eval* variants, that's the one you can call with a char **argv instead of a single string. Since they start with a list on their side, it makes senses to avoid the extra work of Tcl-stringification of the list (which is not itself an obvious offer of the Tcl API to non-Tcl_Obj-acquainted clients). Preventing such (ab)use is tricky. Maybe demote Tcl_GetCommandInfo from the public stubs ?
- login: "ferrieux"
- mimetype: "text/plain"