]>
git.saurik.com Git - wxWidgets.git/blob - interface/wx/cpp.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: interface of global functions
4 // Author: wxWidgets team
5 // Licence: wxWindows licence
6 /////////////////////////////////////////////////////////////////////////////
9 /** @addtogroup group_funcmacro_misc */
12 This macro returns the concatenation of the arguments passed. Unlike when
13 using the preprocessor operator, the arguments undergo macro expansion
14 before being concatenated.
18 #define wxCONCAT(x1, x2)
19 #define wxCONCAT3(x1, x2, x3)
20 #define wxCONCAT4(x1, x2, x3, x4)
21 #define wxCONCAT5(x1, x2, x3, x4, x5)
24 /** @addtogroup group_funcmacro_misc */
28 Returns the string representation of the given symbol which can be either a
29 literal or a macro (hence the advantage of using this macro instead of the
30 standard preprocessor @c # operator which doesn't work with macros).
32 Notice that this macro always produces a @c char string, use
33 wxSTRINGIZE_T() to build a wide string Unicode build.
39 #define wxSTRINGIZE(x)
42 Returns the string representation of the given symbol as either an ASCII or
43 Unicode string, depending on the current build. This is the
44 Unicode-friendly equivalent of wxSTRINGIZE().
48 #define wxSTRINGIZE_T(x)
51 This macro expands to the name of the current function if the compiler
52 supports any of @c __FUNCTION__, @c __func__ or equivalent variables or
53 macros or to @NULL if none of them is available.
57 #define __WXFUNCTION__