Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 11ced23879102bdb918beb51a070310e3c3f3525
Ticket: 218387ffffffffffffffffffffffffffffffffff
Additional Tcl internal functions exported via stubs table
User & Date: nobody on 2000-10-26 00:56:58
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 4690 RFE
    Version: 8.3
    SubmitDate: '2000-03-29'
    LastModified: '2000-03-29'
    Severity: LOW
    Status: Closed
    Submitter: techsupp
    ChangedBy: hobbs
    OS: All
    FixedDate: '2000-10-25'
    ClosedDate: '2000-03-29'
    
    
    Name:
    Steve Landers
    
    Extensions:
    Expect 5.31
    
    DesiredBehavior:
    Building a stubs enabled version of Expect 5.31 for dynamic loading into Tclkit. Need the tcl internal functions Tcl_ReturnObjCmd  + Tcl_CloseObjCmd to be exported via the stubs table.
    
    
    
    Comments from newsgroup:
    
    >> I am not familiar with Expect source code but it should be relatively
    >> easy to change
    >> the code so that on initialisation it gets the addresses of those
    >> functions using
    >> the Tcl_GetCommandInfo call.
    
    > This can be true in general, but it depends on whether Expect
    > wants to access the true core functions, or whether it wants to
    > access the currently defined ones (if somebody overloaded it
    > at the Tcl level).  For the core ones, Expect will need the
    > *ObjCmd references, otherwise it can use GetCommandInfo.
    
    Expect uses Tcl_ReturnObjCmd to implement the "interp_return" command,
    and Tcl_CloseObjCmd to implement the "close" command on a Tcl channel
    (as opposed to closing the connection to the current process).
    
    If the Tcl "return" and "close" commands are redefined in the application
    it is probably appropriate to use the new definition.  I'll follow Paul's
    suggestion and use Tcl_GetCommandInfo unless any Expect experts raise
    an objection.
    
    ---
    
    This will be closed but can be reopened if it is determined that
    access to the original functions is what is required. 
    -- 03/29/2000 hobbs
    
  4. foundin changed to: "obsolete: 8.3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to:
    Additional Tcl internal functions exported via stubs table
    
  11. type changed to: "RFE"