]>
git.saurik.com Git - wxWidgets.git/blob - interface/link.h
34fa33b14e7341d35688b725b169aaf4b385ca36
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: documentation for global functions
4 // Author: wxWidgets team
6 // Licence: wxWindows license
7 /////////////////////////////////////////////////////////////////////////////
10 This macro can be used in conjunction with the
11 wxFORCE_LINK_MODULE macro to force
12 the linker to include in its output a specific object file.
14 In particular, you should use this macro in the source file which you want
15 to force for inclusion. The @c moduleName needs to be a name not already
16 in use in other @c wxFORCE_LINK_THIS_MODULE macros, but is not required
17 to be e.g. the same name of the source file (even if it's a good choice).
19 #define wxFORCE_LINK_THIS_MODULE() /* implementation is private */
23 This macro can be used in conjunction with the
24 wxFORCE_LINK_THIS_MODULE macro to force
25 the linker to include in its output a specific object file.
27 In particular, you should use this macro in a source file which you know
28 for sure is linked in the output (e.g. the source file containing the "main()"
29 of your app). The @c moduleName is the name of the module you want to
31 (i.e. the name you used in the relative wxFORCE_LINK_THIS_MODULE macro.
33 #define wxFORCE_LINK_MODULE() /* implementation is private */