Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5995edddd381f02f0c52a2cdfab6732f5eda1611
Ticket: 1055668fffffffffffffffffffffffffffffffff
removal of exported internals from tclInt.h (EXTERN macro)
User & Date: davygrvy on 2004-10-28 17:09:11
Changes

  1. icomment:
    Logged In: YES 
    user_id=7549
    
    Lets be clear on scope again. Here are the levels worded a
    bit differently:
    
    1) Public functions in the Stubs table.
    - Full privilege, the exported API.
    - ex. Tcl_CreateInterp
    
    2) Private functions in the Stubs table.
    - available to the user of the API and exported, but no
    guarantee across versions as they could change.
    - ex. TclDeleteCompiledLocalVars
    
    3) Internal functions and variables shared across the
    sources, but not exported.
    - no access from the outside.
    - ex. TclFinalizeCompExecEnv
    
    4) File scope variables and functions not intended to be
    accessed outside the source file they are declared in.
    - no access from the outside.
    - ex. BuildCommandLine from win/tclWinPipe.c and struct
    ThreadSpecificData found in almost every source file.
    
    Lets call these problem functions the 'internal' (#3) ones
    and the exported ones from tclInt.decls the 'private' #2
    ones.  All functions that fit class#3 need to have their
    accidental exporting removed.
    
    
  2. login: "davygrvy"
  3. mimetype: "text/plain"
  4. title changed to:
    removal of exported internals from tclInt.h (EXTERN macro)
    
  5. username: "davygrvy"