Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6e37e9cf06db04de5ad92b35d54b3878c86a8938
Ticket: 1055668fffffffffffffffffffffffffffffffff
removal of exported internals from tclInt.h (EXTERN macro)
User & Date: davygrvy on 2004-10-29 00:21:59
Changes

  1. icomment:
    Logged In: YES 
    user_id=7549
    
    >Strictly speaking I don't *have* to use
    >-DUSE_TCL_STUBS when compiling the main .c file, but I do
    > anyway just 'cause I always use -DUSE_TCL_STUBS.
    
    That doesn't buy you the version independance offered by
    Stubs.  Though on unix, you can probably get around it, but
    not on win as the version number is tied to the name of the
    dll at link-time due to Tcl_Main requiring the import library.
    
    >Converse question:  If you're happy using LoadLibrary() /
    > GetProcAddress() to call Tcl_CreateInterp(), why isn't the
    > same technique acceptable for Tcl_Main()?
    
    If it was already in the Stubs table, I wouldn't need to do
    it.  The original reason that Paul left it out was because
    he didn't consider non-extensions would use Stubs.  And
    Tcl_Main has no place with extensions.
    
    >  I really don't see any advantages to the technique in 
    > crazy*.c, and plenty of disadvantages.
    
    Fire away, I'll counter each disadvantage with a balanced
    advantage.  The main advantage is version independence as I
    can build to 8.1 and load into any 8.x Tcl.  A good second
    is that I have control over what core to load at run-time
    rather than link-time.
    
    
  2. login: "davygrvy"
  3. mimetype: "text/plain"
  4. username: "davygrvy"