Wanted (internal) stubs-interfaces for itcl-ng
Closed / Fixed1865230fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 20 days ago
Descriptionplain2008-01-06 18:47:43
In the attachment there is a prototype implementation of interfaces which are needed for itcl-ng and which I would like to get as (internal) stubs-interfaces from Tcl core, so itcl-ng can use only stubs-interfaces in direction Tcl core. The function names at the moment are all starting with Itcl_*, that is only thought for the prototype implementation. If some parts could be realized differently, I am open for comments.
wiedeplain2008-01-07 01:47:43
File Added - 261070: wantedinterfacesfromtcl.c
wiedeplain2008-01-07 18:53:33
Logged In: YES user_id=558925 Originator: YES I have removed ItclGetInterpErrorLine from the list, as dkf has mentioned on tkchat that the field is in the Tcl_Interp struct, what I did not know. What I want to do with Itcl_ProcessReturn is: I want to skip some internal calls in the stack backtrace shown to the user. It is onlöy called on one place, when the stack is enrolled.
wiedeplain2008-01-07 23:05:10
Logged In: YES user_id=558925 Originator: YES for ItclGetInterpErrorLine I am now using Tcl_GetReturnOptions as dgp has suggested, for Itcl_ProcessReturn I am now using Tcl_SetReturnOptions, so both are no longer needed.
serhiy.storchakawiki2026-11-13 11:18:43
The internal stubs entries TclGetNamespaceChildTable, TclGetNamespaceCommandTable, TclInitRewriteEnsemble and TclResetRewriteEnsemble were added for itcl-ng in [518b8a92e0] (Tcl 8.6), and Itcl 4 builds against Tcl through the stubs tables.
Log in (anonymous is fine) to add a comment.
Attachments:
- wantedinterfacesfromtcl.c [download] added by wiede on 2008-01-07 01:47:43. [details]