Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

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

  1. icomment:
    Logged In: YES 
    user_id=7549
    
    gcc can also set attributes after the arguments.  Just for
    fun I looked at trying to let a MODULE_SCOPE_FUNC macro try
    to support it:
    
    #define MODULE_SCOPE_FUNC(RTYPE, FNAME, FARGS)
    TCL_INT_EXTERN_C RTYPE __cdecl FNAME _ANSI_ARGS_(FARGS)
    __attribute__ ((used))
    
    __cdecl and __attribute__ ((...)) just placed there as space
    holders to show it's use for manipulating the positions.
    
    MODULE_SCOPE_FUNC(int, someFunc, (int a, int b));
    
    It's rather ugly and I wouldn't suggest it for the core, but
    was worth looking at just the same.
    http://gcc.gnu.org/onlinedocs/gcc-3.3.1/gcc/Function-Attributes.html
    
    
    
  2. login: "davygrvy"
  3. mimetype: "text/plain"
  4. username: "davygrvy"