Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4a58444229dc7e5956fd048957303cd66f34c206
Ticket: 1711975fffffffffffffffffffffffffffffffff
Tcl_MainEx() (like Tk_MainEx())
User & Date: nijtmans on 2008-11-07 16:48:26
Changes

  1. icomment:
    Looks like a good idea. However, I have three comments:
    - The Tcl_InitMemory() should be done in Tcl_MainEx as
      follows:
        #ifdef TCL_MEM_DEBUG
            Tcl_InitMemory(interp);
        #endif
      just as is done in Tk_MainEx as well.
    - Tcl_MainEx() and Tk_MainEx() are not interchangable, because
      Tk_MainEx() runs an event loop and Tcl_MainEx() does not.
      That doesn't matter, only it should not be documented
      as such. Documentation is missing from the patch.
    - Tcl_MainEx() belongs in the stub table, just as Tk_MainEx.
    
    Further on, I agree with this patch.
    
    
  2. login: "nijtmans"
  3. mimetype: "text/plain"
  4. username: "nijtmans"