]> git.saurik.com Git - wxWidgets.git/blob - interface/cpp.h
Switch on build breakage email notifications.
[wxWidgets.git] / interface / cpp.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: cpp.h
3 // Purpose: interface of global functions
4 // Author: wxWidgets team
5 // RCS-ID: $Id$
6 // Licence: wxWindows license
7 /////////////////////////////////////////////////////////////////////////////
8
9 //@{
10 /**
11 These macro return the concatenation of the tokens passed as their arguments.
12 Unlike when using the preprocessor @c operator, the arguments undergo
13 the macro expansion before being concatenated.
14 */
15 wxCONCAT(x1, x2);
16 wxCONCAT3(x1, x2, x3);
17 wxCONCAT4(x1, x2, x3, x4);
18 wxCONCAT5(x1, x2, x3, x4, x5);
19 //@}
20
21
22 /**
23 Returns the string representation of the given symbol which can be either a
24 literal or a macro (hence the advantage of using this macro instead of the
25 standard preprocessor @c # operator which doesn't work with macros).
26 Notice that this macro always produces a @c char string, use
27 wxSTRINGIZE_T() to build a wide string Unicode build.
28
29 @see wxCONCAT()
30 */
31 #define wxSTRINGIZE(x) /* implementation is private */
32
33 /**
34 Returns the string representation of the given symbol as either an ASCII or
35 Unicode string, depending on the current build. This is the Unicode-friendly
36 equivalent of wxSTRINGIZE().
37 */
38 #define wxSTRINGIZE_T(x) /* implementation is private */
39