Overview
| Artifact ID: | 35ac54b8334b4eb76481cfb3c335007de51296c7 |
|---|---|
| Ticket: | 1711975fffffffffffffffffffffffffffffffff
Tcl_MainEx() (like Tk_MainEx()) |
| User & Date: | nijtmans on 2010-07-26 04:00:46 |
Changes
- icomment:
Here is a final patch, which solves some problems in earlier versions. Two parts of my earlier proposal have been factored out as separate issues, and are now in HEAD. Those are: [tcl-Bugs-3029891] Functions that don't belong in the stub table [tktoolkit-Bugs-3027438] Tk_Main calls Tcl_CreateInterp before Tcl_FindExecutable With those two separate problems sorted out, the remaining work is much simpler: - Introduce Tcl_MainEx, and implement Tcl_Main in terns of Tcl_FindExecutable, Tcl_CreateInterp and Tcl_MainEx. - Introduce a macro Tcl_Main which does the same. This way, Tcl_Main becomes a macro, 100% equivalent to Tk_Main, while everything is 100% compatible with before. The shared library still contains a symbol Tcl_Main, which can be used with GetProcAddress as before. I don't see any problems with this approach. Does anyone? Ready for a TIP to be supplied?
- login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"