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