Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c446bea035055d30f3532b655f4c50114a2c23c5
Ticket: 1055668fffffffffffffffffffffffffffffffff
removal of exported internals from tclInt.h (EXTERN macro)
User & Date: davygrvy on 2004-11-03 03:06:09
Changes

  1. icomment:
    Logged In: YES 
    user_id=7549
    
    That's a step a closer.  Does it make a difference between
    global variables?  Example after pre-processing:
    
    extern "C" int someFlag;
    extern "C" int __cdecl someFunc (int a, int b);
    
    If you just limit the #define of MODULE_SCOPE to just being
    the extern/extern "C" swapping or __private_extern__ where
    supported, the ability to set additional attributes that are
    placed after the return type is missed.  I'd like to see the
    MODULE_SCOPE macro take the return type as an argument so we
    have the ability to add additional attributes such as __cdecl.
    
    I'm not saying I think it is needed to specify __cdecl as it
    already is implied, but that position is available for
    attributes and would make a better macro.  See my TCL_INTERN
    macro in my patch of tcl.h.
    
    
  2. login: "davygrvy"
  3. mimetype: "text/plain"
  4. username: "davygrvy"