I have a couple tcl interpreters on my system and i'd like to pick which one the C API for tcl uses. Is there a way to do this?
Thanks!
I have a couple tcl interpreters on my system and i'd like to pick which one the C API for tcl uses. Is there a way to do this?
Thanks!
The C api doesn't pick the interpreter, you pick the C api corresponding to the interpreter you wish to use, by changing the include and link paths.
You pass the interpreter to the C API, for example TclEval's interface is:
int Tcl_Eval([Tcl_Interp][3] *interp, const char *script)