Skip to content
Tcl Source Code Artifact [0cfc743bc0]
Login

Artifact [0cfc743bc0]

Artifact 0cfc743bc033e860afccd93bc7d6f950564ac4c6:

Ticket change [0cfc743bc0] - New ticket [2006660fffffffff|2006660fff] <i>constructorinit </i>. by wiede on 2008-06-30 11:17:31.
D 2008-06-30T11:17:31
J assignee dkf
J cmimetype text/plain
J comment itcl\shas\sa\sspecial\sfeature\scalled\sconstructor\sinit\scode\swhich\sis\slike\sa\sbody\sof\sa\sproc/script\sand\swhich\sis\scalled\s\sdirectly\sbefore\sthe\sconstructor\sis\scalled\swith\sthe\ssame\scallFrame\sand\sarguments\sas\sthe\sconstructor.\sThat\sis\sused\sfor\sexample\sto\scall\sconstructors\sexplicitly\sbefore\sthe\snormal\sconstruction\smechanism\sis\sdoing\sthe\scalls.\n\nto\sallow\sitcl\sto\shandle\sthat,\shere\sthe\sproposed\schange\sto\sTclOO:\n\nadd\sa\s::oo::define\sconstructorinit\scommand\son\sthe\sscripting\slevel.\n\nAdd\sa\sTcl_SetConstructorInit\scommand\sat\sthe\sC-API\sand\sadd\sa\sconstructorInitPtr\sto\sthe\sclass\sstructure\s(+\sadditional\sstuff\sin\sthe\sFoundation,\sthe\ssame\sas\sfor\sconstructor).\n\nAdd\sadditional\scode\sin\sTclOOCall.c\son\splaces\swhere\sCONSTRUCTOR\sis\shandled\sto\sadd\sa\scall\sto\sthe\sconstructorInit\scode\s(if\sit\sexists)\sjust\sbefore\sthe\scall\sto\sthe\sconstructor\scode.
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter wiede
J subsystem 35.\sTclOO\sPackage
J title constructorinit\s
J type RFE
K 2006660fffffffffffffffffffffffffffffffff
U wiede
Z b1b753a32e1ec792dd0de6d0715f4a3d