Differences From 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]
To Artifact [dcb1a6f5fa]:
- File kitsh/buildsrc/kitsh-0.0/main.c — part of check-in [4816a85fc1] at 2013-09-25 04:30:34 on branch trunk — Removed dead code (user: rkeene, size: 232) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 | #ifndef KITSH_NEED_WINMAIN #include <tcl.h> int TclKit_AppInit(Tcl_Interp *interp); int main(int argc, char **argv) { | < < < < | 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_Main(argc, argv, TclKit_AppInit); /* If Tcl_Main() returns, something went wrong */ return(1); } #endif |