Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 58c3b8f2940bed33cc76d0fb9a7b12494011ab50
Ticket: 926486ffffffffffffffffffffffffffffffffff
remove stdio.h from tcl.h ?
User & Date: dgp on 2004-04-30 20:32:20
Changes

  1. assignee changed to: "jenglish"
  2. icomment:
    Logged In: YES 
    user_id=80530
    
    
    OK, I found a reason not to do this.
    Not a good reason, mind you, but a reason.
    
    A program that wants to call Tcl_Seek()
    or Tcl_FSSeek() will #include <tcl.h> to 
    get their declarations.
    
    In order to call them, though, it's best to pass
    them the values SEEK_SET, SEEK_CUR,
    or SEEK_END.  Those values are
    #define'd in <stdio.h>.
    
    Probably would be better if Tcl defined its
    own values for passing to its own routines,
    but as things are, it appears tcl.h ought to
    include stdio.h after all. 
    
    
  3. login: "dgp"
  4. mimetype: "text/plain"
  5. resolution changed to: "Remind"
  6. status changed to: "Open"
  7. username: "dgp"