Overview
| Artifact ID: | 250007c3c5986fb45197cded3a23fe70a813f38c |
|---|---|
| Ticket: | 2558422fffffffffffffffffffffffffffffffff
const Tcl_ObjTypes breaking stubs contract. |
| User & Date: | patthoyts on 2009-02-03 22:14:56 |
Changes
- icomment:
That's fine with me. I agree that this overriding of core types seems somewhat evil. On the other hand, what else is Tcl_GetObjType for if not to provide for this eventuality. Having dug around in google code a bit it looks like the technique was pioneered by the Feather extension and subsequently picked up by the other extensions listed. In the future it may be worth trying to TIP some kind of official mechanism for this where a limited lifetime command needs to be managed without requiring an explicit delete call. This will have to be a Tcl 9 change though I think.
- login: "patthoyts"
- mimetype: "text/plain"
- username: "patthoyts"