Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 45eea3401434c2d3684cc01f3c8d7770db844b4e
Ticket: 1055668fffffffffffffffffffffffffffffffff
removal of exported internals from tclInt.h (EXTERN macro)
User & Date: jenglish on 2004-10-29 00:01:44
Changes

  1. icomment:
    Logged In: YES 
    user_id=68433
    
    > jenglish: show me an example in code where someone builds a
    > shell and has defined USE_TCL_STUBS, but expects Tcl_Main to
    > be linked implicitly.
    
    I've always built shells this way (well, since 8.1 anyway);
    I thought it was pretty much conventional (i.e., main() just
    calls Tcl_Main and passes in the address of the local
    AppInitProc).  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.
    
    Converse question:  If you're happy using LoadLibrary() /
    GetProcAddress() to call Tcl_CreateInterp(), why isn't the
    same technique acceptable for Tcl_Main()?  I really don't
    see any advantages to the technique in crazy*.c, and plenty
    of disadvantages.
    
    
  2. login: "jenglish"
  3. mimetype: "text/plain"
  4. username: "jenglish"