Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d3122976e0adf7f465216e831ba7f7d9e53f9d8941581745a3de9c727bd33616
Ticket: b5bd08df8d61b4ea9bf0cc885f790b367c430a9f
The "int" type registration should be restored.
User & Date: marc_culler on 2024-07-03 16:44:00
Changes

  1. icomment:
    > Please have a look at this commit. It's a demonstration (in Tk) how
    > Tcl_GetNumberFromObj() can be used instead of the registered types
    
    I am trying to follow that example to write a conversion function for
    _tkinter.c which can be called for any numeric type.  i will call it first
    for every Tcl_Obj. If the call fails I think I will still need
    to test the typePtr to decide which conversion function to call.
    
  2. login: "marc_culler"
  3. mimetype: "text/plain"