embedding stubbed tcl
robin at jessikat.demon.co.uk
Tue Nov 2 17:27:53 CET 1999
In article <8ZCT3.18814$1v5.202282 at newscontent-01.sprint.ca>,
laurent.duperval at cgi.ca writes
>Stubs were not included in the core until 8.1.x and 8.2.x. So your situation
>is normal. But if you follow the TEA guidelines and stubify tkinter, you
>should not have any problems when upgrading to a new version. I know for a
>fact that this worked for me when I upgraded from wish 8.1.x to 8.2.x: I
>didn't need to recompile the Img extension, which was properly stubified.
I thought stubs were for extensions. The tkinter case is slightly the
wrong way round as it starts tcl up. Checking I find that only one non-
standard thing is called, TclpInitLibraryPath. Checking in Tcl_Main I
reckon that this is now included inside the call to Tcl_FindExecutable.
so theoretically I can do a dynamic dll call to find Tcl_CreateInterp
and get the initial interp followed by Tcl/Tk _InitStubs etc etc to get
the active routines into the stubs table.
More information about the Python-list