Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 141c59ae7429577e98f771747a0235822ecd5d5df2e18c268ec7e22209f80039
Ticket: e58d7e19e937496f179fe711345b415f3f3d31b2
Upwards compatibility of TclObjTypeHasProc()
User & Date: apnadkarni on 2023-07-27 15:24:33
Changes

  1. icomment:
    +1 for Jan's proposal. This was on my mind as well to simplify the check for whether a method is supported so we don't need to check multiple versions on every call.
    
    Although not necessary, the version field could be sizeof(Tcl_ObjType) as Jan had originally suggested (which I was initially against but came around to favour). That's not strictly necessary though as long as the structure keeps monotonically increasing in size with old fields maintained.
    
    /Ashok
    
  2. login: "apnadkarni"
  3. mimetype: "text/plain"