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