Re: C Interface question. RE: 8.0 vs 8.4
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: C Interface question. RE: 8.0 vs 8.4

From: Donald Arseneau <asnd@triumf.ca>
Date: Tue Apr 18 2006 - 05:32:13 CEST

"Donal K. Fellows" <donal.k.fellows@manchester.ac.uk> writes:

> > int main(void) {
> > Tcl_Interp *interp;
> > interp = Tcl_CreateInterp();
>
> things to do" to make that work. You have to call Tcl_FindExecutable()
> once before calling Tcl_CreateInterp() in order for the Tcl library to
> initialize itself[*];

As people started pointing this out some time back, I checked my programs,
but I call Tcl_main instead, and it does Tcl_FindExecutable for me.
Is that deprecated?

-- 
Donald Arseneau                          asnd@triumf.ca
Received on Sun Apr 30 03:14:59 2006