Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2026-11-13
11:18 • Closed ticket [1865230fff]: Wanted (internal) stubs-interfaces for itcl-ng p... artifact: b77f4961fa user: serhiy.storchaka
2008-01-07
23:05 • Ticket [1865230fff]: 4 changes artifact: a6fb2dcc5a user: wiede
18:53 • Ticket [1865230fff]: 4 changes artifact: 35696b97e7 user: wiede
01:47 • Ticket [1865230fff]: 4 changes artifact: ead7890e63 user: wiede
01:47 • Add attachment wantedinterfacesfromtcl.c to ticket [1865230fffffffff|18... artifact: cf6a586e2b user: wiede
2008-01-06
18:47 • New ticket [1865230fff] Wanted (internal) stubs-interfaces for itcl-ng. artifact: 46c9a6d824 user: wiede

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: