Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e9ba8fcd553c548ebdb610d5a77bd6152eb45a0dbca14289544601d90eb61a0a
Ticket: e58d7e19e937496f179fe711345b415f3f3d31b2
Upwards compatibility of TclObjTypeHasProc()
User & Date: jan.nijtmans on 2023-07-31 15:48:37
Changes

  1. assignee changed to: "jan.nijtmans"
  2. icomment:
    > However, if using size & offset tests is they way others want to proceed, I'll go along with it.
    
    Thanks!
    
    It's the simplest solution which adheres to the TIP 644 requirement.
    
    >As an aside, can we change this macro to an inline function?  These can be debugged, whereas macros cannot.
    The second argument of TclObjTypeHasProc() is the name of a struct member. Such kind of thing cannot be done by a C inline function.
    
    I'm really sorry, but I'm fullyaware that you don't realize there is a real problem. I added a (hopefully more convincing, but I'm not fully confident) testcase now.
    
  3. login: "jan.nijtmans"
  4. mimetype: "text/x-fossil-wiki"