2008-03-08 08:52:38 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2008-03-08 09:43:31 -05:00
|
|
|
// Name: link.h
|
2008-03-10 11:24:38 -04:00
|
|
|
// Purpose: interface of global functions
|
2008-03-08 09:43:31 -05:00
|
|
|
// Author: wxWidgets team
|
|
|
|
// RCS-ID: $Id$
|
2010-07-13 09:29:13 -04:00
|
|
|
// Licence: wxWindows licence
|
2008-03-08 09:43:31 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2009-01-05 15:48:06 -05:00
|
|
|
/** @addtogroup group_funcmacro_byteorder */
|
2008-03-14 23:14:51 -04:00
|
|
|
//@{
|
|
|
|
|
2008-03-08 09:43:31 -05:00
|
|
|
/**
|
2008-03-14 23:14:51 -04:00
|
|
|
This macro can be used in conjunction with the wxFORCE_LINK_MODULE() macro
|
|
|
|
to force the linker to include in its output a specific object file.
|
2008-03-20 09:45:17 -04:00
|
|
|
|
2008-03-14 23:14:51 -04:00
|
|
|
In particular, you should use this macro in the source file which you want
|
|
|
|
to force for inclusion. The @c moduleName needs to be a name not already in
|
|
|
|
use in other wxFORCE_LINK_THIS_MODULE() macros, but is not required to be
|
|
|
|
e.g. the same name of the source file (even if it's a good choice).
|
2008-03-08 08:52:38 -05:00
|
|
|
|
2008-03-14 23:14:51 -04:00
|
|
|
@header{wx/link.h}
|
|
|
|
*/
|
|
|
|
#define wxFORCE_LINK_THIS_MODULE( moduleName )
|
2008-03-08 08:52:38 -05:00
|
|
|
|
2008-03-08 09:43:31 -05:00
|
|
|
/**
|
2008-03-14 23:14:51 -04:00
|
|
|
This macro can be used in conjunction with the wxFORCE_LINK_THIS_MODULE()
|
|
|
|
macro to force the linker to include in its output a specific object file.
|
2008-03-20 09:45:17 -04:00
|
|
|
|
2008-03-14 23:14:51 -04:00
|
|
|
In particular, you should use this macro in a source file which you know
|
|
|
|
for sure is linked in the output (e.g. the source file containing the
|
|
|
|
@c main() of your app). The @c moduleName is the name of the module you
|
|
|
|
want to forcefully link (i.e. the name you used in the relative
|
|
|
|
wxFORCE_LINK_THIS_MODULE() macro.
|
|
|
|
|
|
|
|
@header{wx/link.h}
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
2008-03-14 23:14:51 -04:00
|
|
|
#define wxFORCE_LINK_MODULE( moduleName )
|
|
|
|
|
|
|
|
//@}
|
2008-03-08 08:52:38 -05:00
|
|
|
|