2008-03-08 13:52:38 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2008-03-08 14:43:31 +00:00
|
|
|
// Name: cpp.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
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
//@{
|
2008-03-08 13:52:38 +00:00
|
|
|
/**
|
|
|
|
These macro return the concatenation of the tokens passed as their arguments.
|
|
|
|
Unlike when using the preprocessor @c operator, the arguments undergo
|
|
|
|
the macro expansion before being concatenated.
|
|
|
|
*/
|
2008-03-09 12:33:59 +00:00
|
|
|
wxCONCAT(x1, x2);
|
|
|
|
wxCONCAT3(x1, x2, x3);
|
|
|
|
wxCONCAT4(x1, x2, x3, x4);
|
|
|
|
wxCONCAT5(x1, x2, x3, x4, x5);
|
2008-03-08 13:52:38 +00:00
|
|
|
//@}
|
|
|
|
|
|
|
|
|
2008-03-08 14:43:31 +00:00
|
|
|
/**
|
|
|
|
Returns the string representation of the given symbol which can be either a
|
|
|
|
literal or a macro (hence the advantage of using this macro instead of the
|
|
|
|
standard preprocessor @c # operator which doesn't work with macros).
|
|
|
|
Notice that this macro always produces a @c char string, use
|
2008-03-10 15:24:38 +00:00
|
|
|
wxSTRINGIZE_T() to build a wide string Unicode build.
|
2008-03-08 14:43:31 +00:00
|
|
|
|
2008-03-10 15:24:38 +00:00
|
|
|
@see wxCONCAT()
|
2008-03-08 13:52:38 +00:00
|
|
|
*/
|
|
|
|
#define wxSTRINGIZE(x) /* implementation is private */
|
|
|
|
|
|
|
|
/**
|
|
|
|
Returns the string representation of the given symbol as either an ASCII or
|
|
|
|
Unicode string, depending on the current build. This is the Unicode-friendly
|
2008-03-10 15:24:38 +00:00
|
|
|
equivalent of wxSTRINGIZE().
|
2008-03-08 13:52:38 +00:00
|
|
|
*/
|
|
|
|
#define wxSTRINGIZE_T(x) /* implementation is private */
|
|
|
|
|