Tk8.5: Tk_PhotoSetSize vs Tk_PhotoSetSize_Panic



I'm getting a crash moving from Tk8.4 to Tk8.4 on the call
Tk_PhotoSetSize().
It seems that this call now takes an interpreter as its first
argument, where it did not before. However, putting
that in, seems to still give a problem due to a function
declaration mismatch with Tk_PhotoSetSize and Tk_PhotoSetSize_Panic.

(Tk_PhotoSetSize_Panic does not take an interp, though tk.h just
redefines Tk_PhotoSetSize to be Tk_PhotoSetSize_Panic).

I'm not sure if I'm on the right track with this problem. :(

Any help from the Tcl guru's would be *very much* appreciated.

Thank you!
Sam
.



Relevant Pages

  • Re: Tk8.5: Tk_PhotoSetSize vs Tk_PhotoSetSize_Panic
    ... Appologies. ... It seems that this call now takes an interpreter as its first ... redefines Tk_PhotoSetSize to be Tk_PhotoSetSize_Panic). ... Any help from the Tcl guru's would be *very much* appreciated. ...
    (comp.lang.tcl)
  • Tcl thread local storage memory problem
    ... I am working on an application that originally uses one thread, TCL ... and the C-library to initialize an interpreter and executing standard ... InitializeThreadLocalStorage(); /*If no threads, initialize ... able to get Tcl thread local storage ...
    (comp.lang.tcl)
  • Re: File data format
    ... This is how I always look at data processing with Tcl: ... then let the very effecient tcl interpreter do the parsing. ... Create procs that match the data keys. ... date, commit, and compile, that matched the same signature, then your ...
    (comp.lang.tcl)
  • Re: No argv, argc for worker thread
    ... I expected that a Tcl interpreter started in any manner would accept options ... This is how the interpreter works with command line options ... a "main" script processes command line ...
    (comp.lang.tcl)
  • Re: Tcl/TK is indeed dying
    ... A fat Tcl interpreter has impact to all wanting to see Tcl linked to ... other software and embedded in hardware, because fatness make it less ...
    (comp.lang.tcl)