From: Jan N. <nij...@us...> - 2010-02-16 20:43:17
|
2010/2/16 Daniel A. Steffen <da...@us...>: >> reverted earlier rename from tcl*Stubs to >> tcl*ConstStubs, it's not necessary at all. > > On Feb 5, 2010, at 20:53, nij...@us... wrote: > >> Eliminate the need for an extra Stubs Pointer >> for adressing a static stub table: Just change >> the exported table from static to MODULE_SCOPE. > > for the record, these were actually quite deliberate changes and part of the overall "const stubs tables" and "tclStubsPtr out of libtcl.so" efforts which were discussed at some length on email & chat back in 2007. Don't worry, I didn't revert any of those deliberate original changes. However, making all stub tables static, and then use an extra pointer to make the main stub table accessible was rather clumsy. Therefore I extended genStubs.tcl to find out which one is intended to be exported. It's a simplification, retaining the original idea. In that process, I changed the name of the stub table symbols, later discovering that that was not necessary at all. So I reverted part of my own later changes. Regards, Jan Nijtmans |