Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c9042d4dd3dd9093099dc0bf19878834ec3084c9
Ticket: 3588687fffffffffffffffffffffffffffffffff
Tcl_InitStubs() Broken As Designed
User & Date: nijtmans on 2012-12-07 22:58:12
Changes

  1. icomment:
    Two remarks:
    - your commit broke test load-8.4
    - pkgb.c wouldn't even compile with Tcl 9 headers. That's the difference
      with the Tcl_EvalEx() example: with Tcl_EvalEx, the compiler will
      not tell you that the signature is wrong. With Tcl_GetDefaultEncodingDir
      the compiler will tell you all about the problem.
    Both problems fixed on trunk now.
    
    I don't know if you really want to keep this on trunk, but it would
    be a good example how deprecated functions could be
    handled. It's (almost) the same way as Thread 2.7 does it, only
    in this case we know the stub entry exists, so we can simply
    test for NULL. :->
    
    
  2. login: "nijtmans"
  3. mimetype: "text/plain"
  4. username: "nijtmans"