2008-03-08 13:52:38 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2008-03-08 14:43:31 +00:00
|
|
|
// Name: link.h
|
2008-03-10 15:24:38 +00:00
|
|
|
// Purpose: interface of global functions
|
2008-03-08 14:43:31 +00:00
|
|
|
// Author: wxWidgets team
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Licence: wxWindows license
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2009-01-05 20:48:06 +00:00
|
|
|
/** @addtogroup group_funcmacro_byteorder */
|
2008-03-15 03:14:51 +00:00
|
|
|
//@{
|
|
|
|
|
2008-03-08 14:43:31 +00:00
|
|
|
/**
|
2008-03-15 03:14:51 +00: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 13:45:17 +00:00
|
|
|
|
2008-03-15 03:14:51 +00: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 13:52:38 +00:00
|
|
|
|
2008-03-15 03:14:51 +00:00
|
|
|
@header{wx/link.h}
|
|
|
|
*/
|
|
|
|
#define wxFORCE_LINK_THIS_MODULE( moduleName )
|
2008-03-08 13:52:38 +00:00
|
|
|
|
2008-03-08 14:43:31 +00:00
|
|
|
/**
|
2008-03-15 03:14:51 +00: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 13:45:17 +00:00
|
|
|
|
2008-03-15 03:14:51 +00: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 13:52:38 +00:00
|
|
|
*/
|
2008-03-15 03:14:51 +00:00
|
|
|
#define wxFORCE_LINK_MODULE( moduleName )
|
|
|
|
|
|
|
|
//@}
|
2008-03-08 13:52:38 +00:00
|
|
|
|