Order of initialization of main_interp and call to STk_user_init()

From: David Fox <fox_at_GRAPHICS.CS.NYU.EDU>
Date: Thu, 22 Dec 94 23:42:17 -0500

In 2.1.4 the global variable main_interp had been initialized by the
time STk_user_init was called, but in 2.1.5 STk_user_init is not
called until after the call to Tk_main that allocates main_interp.
Unfortunately, my application initialization wants to call
Tcl_CreateCommand which needs an interp argument. What to do?
Received on Fri Dec 23 1994 - 05:42:47 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST