Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e2681175150b6eb515733c94b6e88b68f33e3247
Ticket: 1471633fffffffffffffffffffffffffffffffff
genStub.tcl erroneusly parses function declaration
User & Date: jenglish on 2006-04-18 12:51:00
Changes

  1. closedate changed to: "2006-04-18T05:51:00"
  2. closer changed to: "jenglish"
  3. icomment:
    Logged In: YES 
    user_id=68433
    
    Agree with dkf's assessment -- genStubs.tcl isn't intended
    to parse arbitrary C function declarations, only a
    restricted subset of the syntax is supported.  It's always
    possible to rewrite declarations in a form acceptable to
    genStubs.tcl by introducing intermediate typedefs (which is
     good style anyway...)
    
    [ As an aside: if you're generating a stubs table for your
    own extension, you might want to look at Tile's modified
    version of genStubs.tcl, in tile/tools/genStubs.tcl.  This
    attempts to address some of the historical problems
    encountered with the core stubs tables. ]
    
    
  4. login: "jenglish"
  5. mimetype: "text/plain"
  6. status changed to: "Closed"
  7. username: "jenglish"