Overview
| Artifact ID: | c62a7a31c1db732509e1002ed9b13a73864db529 |
|---|---|
| Ticket: | 2960221fffffffffffffffffffffffffffffffff
enhanced script level options |
| User & Date: | dkf on 2010-02-28 04:53:20 |
Changes
- icomment:
I suggest implementing a new command in the namespace ::oo::define (and/or ::oo::objdefine). At the C level, you've got access to the core things that the 'method' command uses, so you can do everything they do and more. In particular, you've got TclOOGetDefineCmdContext (to work out what you're working on) and you've got TclOONewProcInstanceMethod and TclOONewProcMethod to actually make methods. (See the code for TclOODefineMethodObjCmd to see how I put these pieces together; it's simple to duplicate.) I don't plan to add flags to 'method' in the near future, so dropping the prio on this as you do have a workaround available.
- login: "dkf"
- mimetype: "text/plain"
- priority changed to: "1 Zero"
- username: "dkf"