Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b0907fde3e1f307a9fe3ce943f439cfbcdc90792dcb0fa6b1c02b0b00cab238a
Ticket: e58d7e19e937496f179fe711345b415f3f3d31b2
Upwards compatibility of TclObjTypeHasProc()
User & Date: griffin on 2023-07-27 20:00:42
Changes

  1. icomment:
    Tcl_ObjType is a publicly visible structure. Any change to it will require a recompile, even if some changes would allow existing compiled code to work, it is still inappropriate to assume this is ok.
    
    A change to Tcl_ObjType will require a TIP, and be limited to version updates, either minor or major. Any such update requires a recompile.  So I don't see how there's an incompatibility here.
    
    Also:
    "Any change other than adding new fields at the end..."
    
    There's no guarantee that the address after the end in the older compiled code is a valid address.
    
  2. login: "griffin"
  3. mimetype: "text/x-markdown"