modified handling of start part of call chain
Closed / Wont Fix2006651fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 20 days ago
Descriptionplain2008-06-30 11:07:25
There is some special code in xxx for itcl to handle the start within a call chain:(if (startCls != NULL) { ... })
I would prefer to change that to not start within the call chain, but to start as normal and only mark class entries which are before the starting class with a flag in CallChain structore as "to be skipped" and in TclOOInvokeContext to skip these entries during invokation.
Advantage for itcl: itcl can use filters and mixins as usual and only skip class method in the class hierarchy
wiedeplain2008-10-05 23:55:30
the xxx above was meant to be tclOO.c function TclOOObjectCmdCore
dkf Ticket [2006651fff]: 1 change
[History diff]2009-05-11 21:00:37
dkfplain2009-07-13 01:20:55
This is complicated, because it's prying into a place which isn't designed for it at all, and expensive, because it prevents the sharing of a call chain between simultaneous invocations. I'm probably not going to ever do this.
serhiy.storchakawiki2026-11-13 11:18:43
Closing per dkf's comment; Itcl keeps using the startCls argument of TclOOObjectCmdCore.
Log in (anonymous is fine) to add a comment.