Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 57d0ac6b60fa82010b31b6d15da17e09aa134225
Ticket: 582429ffffffffffffffffffffffffffffffffff
CONST for variable access interfaces
User & Date: msofer on 2002-07-16 19:41:07
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    This patch CONST-ifies the function TclLookupVar, which
    in turn enables CONSTification of the variable access
    functions. The modified signatures of non-static
    functions (all of the same nature: part1 of the
    variable nameis now CONST char *) are:
    
    (1) in tcl.decls
    Tcl_GetVar(2(Ex)?)?, Tcl_SetVar(2(Ex)?)?,
    Tcl_UnsetVar2?, Tcl_UpVar2?, Tcl_(Un)?TraceVar2?,
    Tcl_VarTraceInfo2?
    
    (2) in tcl.h
    typedef Tcl_VarTraceProc
    
    (3) in tclInt.decls
    TclLookupVar, TclPrecTraceProc, Tcl_VarTraceExists
    
    The patch still needs (a) review by someone
    knowledgeable, and (b) updating the docs.
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "msofer"
  9. subsystem changed to: "None"
  10. title changed to: "CONST for variable access interfaces"
  11. type changed to: "Patch"