Tk Source Code

Check-in [9bc115d8]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:no longer depend on MODULE_SCOPE being defined
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 9bc115d8f16900993953be473e1a7655463dad66
User & Date: jan.nijtmans 2011-05-05 06:28:23
Context
2011-06-01
11:12
Merged [Bug #3306909] and [Bug #3294593] from 8.5 (menu posting issues) check-in: 6eb621b6 user: patthoyts tags: trunk
2011-05-05
06:28
no longer depend on MODULE_SCOPE being defined check-in: 9bc115d8 user: jan.nijtmans tags: trunk
2011-04-29
01:11
Implement support for [wm forget] and [wm manage] on OS X; fix issue with library stripping in install-sh check-in: 8e57498a user: kevin_walzer tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to unix/tkAppInit.c.

27
28
29
30
31
32
33



34
35
36
37
38
39
40
 * a #define of TCL_LOCAL_APPINIT instead of rewriting this entire file. The
 * #if checks for that #define and uses Tcl_AppInit if it doesn't exist.
 */

#ifndef TK_LOCAL_APPINIT
#define TK_LOCAL_APPINIT Tcl_AppInit
#endif



MODULE_SCOPE int TK_LOCAL_APPINIT(Tcl_Interp *);
MODULE_SCOPE int main(int, char **);

/*
 * The following #if block allows you to change how Tcl finds the startup
 * script, prime the library or encoding paths, fiddle with the argv, etc.,
 * without needing to rewrite Tk_Main()







>
>
>







27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
 * a #define of TCL_LOCAL_APPINIT instead of rewriting this entire file. The
 * #if checks for that #define and uses Tcl_AppInit if it doesn't exist.
 */

#ifndef TK_LOCAL_APPINIT
#define TK_LOCAL_APPINIT Tcl_AppInit
#endif
#ifndef MODULE_SCOPE
#   define MODULE_SCOPE extern
#endif
MODULE_SCOPE int TK_LOCAL_APPINIT(Tcl_Interp *);
MODULE_SCOPE int main(int, char **);

/*
 * The following #if block allows you to change how Tcl finds the startup
 * script, prime the library or encoding paths, fiddle with the argv, etc.,
 * without needing to rewrite Tk_Main()