]>
Commit | Line | Data |
---|---|---|
23324ae1 | 1 | ///////////////////////////////////////////////////////////////////////////// |
7c913512 | 2 | // Name: link.h |
e54c96f1 | 3 | // Purpose: interface of global functions |
7c913512 FM |
4 | // Author: wxWidgets team |
5 | // RCS-ID: $Id$ | |
6 | // Licence: wxWindows license | |
7 | ///////////////////////////////////////////////////////////////////////////// | |
8 | ||
9579c1d7 BP |
9 | /** @ingroup group_funcmacro_byteorder */ |
10 | //@{ | |
11 | ||
7c913512 | 12 | /** |
9579c1d7 BP |
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. | |
15 | ||
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). | |
23324ae1 | 20 | |
9579c1d7 BP |
21 | @header{wx/link.h} |
22 | */ | |
23 | #define wxFORCE_LINK_THIS_MODULE( moduleName ) | |
23324ae1 | 24 | |
7c913512 | 25 | /** |
9579c1d7 BP |
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. | |
28 | ||
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. | |
34 | ||
35 | @header{wx/link.h} | |
23324ae1 | 36 | */ |
9579c1d7 BP |
37 | #define wxFORCE_LINK_MODULE( moduleName ) |
38 | ||
39 | //@} | |
23324ae1 | 40 |