Differences From Artifact [f0d4d5a170]:
- File
kitsh/buildsrc/kitsh-0.0/main.c
— part of check-in
[f644c21488]
at
2010-09-26 04:40:28
on branch trunk
— Updated kitsh to support Windows
Removed executable bit from boot.tcl
Updated licensing
Added documentation regarding statically linking to Tk
Updated win32 build test to pass in path to zlib (user: rkeene, size: 224) [annotate] [blame] [check-ins using]
To Artifact [cac11ec6a8]:
- File
kitsh/buildsrc/kitsh-0.0/main.c
— part of check-in
[5dc6b2220b]
at
2010-09-26 04:46:35
on branch trunk
— Cleaned up winMain
Updated main to return in failure if Tcl_Main() returns (user: rkeene, size: 275) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 7 8 9 10 11 12 | #ifndef KITSH_NEED_WINMAIN #include <tcl.h> int TclKit_AppInit(Tcl_Interp *interp); int main(int argc, char **argv) { Tcl_Interp *x; x = Tcl_CreateInterp(); Tcl_Main(argc, argv, TclKit_AppInit); | > | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #ifndef KITSH_NEED_WINMAIN #include <tcl.h> int TclKit_AppInit(Tcl_Interp *interp); int main(int argc, char **argv) { Tcl_Interp *x; x = Tcl_CreateInterp(); Tcl_Main(argc, argv, TclKit_AppInit); /* If Tcl_Main() returns, something went wrong */ return(1); } #endif |