Rene Zaumseil | 2 Jul 20:29
Favicon

Re: Tcl/Tk 8.6a1 RELEASED

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

Gmane