enhancemanet wish for TIP#257 implementation
- From: Arnulf Wiedemann <arnulf@xxxxxxxxxxxxxxxx>
- Date: Fri, 13 Oct 2006 15:04:26 +0200
Hello Donal,
after having done some tests on the Tcl level for hooking Itcl onto the new
OO system, I have the impression, that it might be easier to use the
C-level functions.
In looking how to do that I found out that the the current implementation
makes me a lot of trouble, as there is only a PUBLIC_METHOD flag. What I
would additionally need is a PROTECTED_METHOD flag, which can be handled in
the current implementaion in the same way as not to set PUBLIC_METHOD
(which implicitly means "PRIVATE_METHOD").
The consequence would be that on some places (for example the calls to
Tcl_NewMethod) the code had to be changed to explicitly handle the
appropriate flags bits. Additionally it would be necessary to not set the
flags in the call CallContext and Tcl_Method structure directly but from
the parameter value given in the call.
I think that would help me a lot.
Cheers,
Arnulf
.
- Follow-Ups:
- Re: enhancemanet wish for TIP#257 implementation
- From: Donal K. Fellows
- Re: enhancemanet wish for TIP#257 implementation
- Prev by Date: Re: XOTcl 1.5.2
- Next by Date: Re: problem with attachments using tcllib smtp/mime
- Previous by thread: What does this "thru" do?
- Next by thread: Re: enhancemanet wish for TIP#257 implementation
- Index(es):
Relevant Pages
|