2 Jul 20:29
Re: Tcl/Tk 8.6a1 RELEASED
From: Rene Zaumseil <r.zaumseil@...>
Subject: Re: Tcl/Tk 8.6a1 RELEASED
Newsgroups: gmane.comp.lang.tcl.core
Date: 2008-07-02 18:29:58 GMT
Subject: Re: Tcl/Tk 8.6a1 RELEASED
Newsgroups: gmane.comp.lang.tcl.core
Date: 2008-07-02 18:29:58 GMT
Joe English wrote:
> Change this to:
> DLLEXPORT int Vlerq_Init (Tcl_Interp *interp)
> {
> if (Tcl_InitStubs(interp, TCL_VERSION, 0) == NULL) {
> return TCL_ERROR;
> }
> [... rest of extension initialization ...]
> }
> and it will work properly whether compiled with
> or without -DUSE_TCL_STUBS. (Tcl_InitStubs() is
> a macro; if stubs are disabled, it just does some
> error checking and other than that is a no-op.)
Thanks a lot. That's it!
rene
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
RSS Feed