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