]>
Commit | Line | Data |
---|---|---|
1 | ///////////////////////////////////////////////////////////////////////////// | |
2 | // Name: link.h | |
3 | // Purpose: interface of global functions | |
4 | // Author: wxWidgets team | |
5 | // Licence: wxWindows licence | |
6 | ///////////////////////////////////////////////////////////////////////////// | |
7 | ||
8 | /** @addtogroup group_funcmacro_byteorder */ | |
9 | //@{ | |
10 | ||
11 | /** | |
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. | |
14 | ||
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). | |
19 | ||
20 | @header{wx/link.h} | |
21 | */ | |
22 | #define wxFORCE_LINK_THIS_MODULE( moduleName ) | |
23 | ||
24 | /** | |
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. | |
27 | ||
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. | |
33 | ||
34 | @header{wx/link.h} | |
35 | */ | |
36 | #define wxFORCE_LINK_MODULE( moduleName ) | |
37 | ||
38 | //@} | |
39 |