]> git.saurik.com Git - wxWidgets.git/blob - interface/cpp.h
cebc29a50e1e343933da9d49c6af327cdc50c090
[wxWidgets.git] / interface / cpp.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: cpp.h
3 // Purpose: documentation for 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
27 Notice that this macro always produces a @c char string, use
28 wxSTRINGIZE_T to build a wide string Unicode build.
29
30 @sa wxCONCAT
31 */
32 #define wxSTRINGIZE(x) /* implementation is private */
33
34 /**
35 Returns the string representation of the given symbol as either an ASCII or
36 Unicode string, depending on the current build. This is the Unicode-friendly
37 equivalent of wxSTRINGIZE.
38 */
39 #define wxSTRINGIZE_T(x) /* implementation is private */
40