Overview
| Artifact ID: | 0cfc743bc033e860afccd93bc7d6f950564ac4c6 |
|---|---|
| Ticket: | 2006660fffffffffffffffffffffffffffffffff
constructorinit |
| User & Date: | wiede on 2008-06-30 11:17:31 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
itcl has a special feature called constructor init code which is like a body of a proc/script and which is called directly before the constructor is called with the same callFrame and arguments as the constructor. That is used for example to call constructors explicitly before the normal construction mechanism is doing the calls. to allow itcl to handle that, here the proposed change to TclOO: add a ::oo::define constructorinit command on the scripting level. Add a Tcl_SetConstructorInit command at the C-API and add a constructorInitPtr to the class structure (+ additional stuff in the Foundation, the same as for constructor). Add additional code in TclOOCall.c on places where CONSTRUCTOR is handled to add a call to the constructorInit code (if it exists) just before the call to the constructor code.
- foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "wiede"
- subsystem changed to: "35. TclOO Package"
- title changed to: "constructorinit "
- type changed to: "RFE"