Overview
| Artifact ID: | 8fd1b7923f0d9d0854c8fbe8f599ce82a6551202 |
|---|---|
| Ticket: | 3588687fffffffffffffffffffffffffffffffff
Tcl_InitStubs() Broken As Designed |
| User & Date: | nijtmans on 2012-11-28 15:21:59 |
Changes
- icomment:
I only have two additional suggestions: >Suggest simply leaving Tcl_InitStubs out of novem tclStubLib.c. That way >the extension will get a linker error if there is a mismatch My suggestion would be to leave Tcl_InitStubs in there, but don't use TCL_MAJOR_VERSION, but simply hardcoded '8': We already know that Tcl 9 doesn't use Tcl_InitStubs, and in Tcl 7 it didn't even exist yet, so we know it must be 8. Then we again have no reason for versioning libstubs.a I would pass TCL_STUB_MAGIC as argument as well. For Tcl 8 we know it's a fixed number, but then we could keep the signature for TclInitStubs the same in Tcl8 and Tcl9. Another little bit of more compatibility. Thanks!
- login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"