Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4b076511ccace6709e403fe62a3b07cf9ab9afe60557fc183d49ba91d4195df8
Ticket: e58d7e19e937496f179fe711345b415f3f3d31b2
Upwards compatibility of TclObjTypeHasProc()
User & Date: griffin on 2023-07-27 17:53:18
Changes

  1. icomment:
    When the Tcl_ObjType is changed, a recompile will be necessary. This means the structure and access functions/macros will always be in sync. So I don’t understand the “won’t be recognized” statement. 
    
    “If we assume that Tcl_ObjType is a structure, increasing in size with newer versions…”
    
    I think this would be a big mistake. A new version should be free to change the shape of the structure. Don’t constrain the future. 
    
    Bottom line is that my changes were intentional.
    
  2. login: "griffin"
  3. mimetype: "text/x-markdown"