Tcl Source Code

View Ticket
Login
Ticket UUID: 1865230
Title: Wanted (internal) stubs-interfaces for itcl-ng
Type: RFE Version: None
Submitter: wiede Created on: 2008-01-06 18:47:43
Subsystem: None Assigned To: nobody
Priority: 5 Medium Severity:
Status: Open Last Modified: 2008-01-07 23:05:10
Resolution: None Closed By:
    Closed on:
Description:
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.
User Comments: wiede added on 2008-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.

wiede added on 2008-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.

wiede added on 2008-01-07 01:47:43:

File Added - 261070: wantedinterfacesfromtcl.c

Attachments: