]> git.saurik.com Git - wxWidgets.git/blame - interface/cpp.h
fixed category
[wxWidgets.git] / interface / cpp.h
CommitLineData
23324ae1 1/////////////////////////////////////////////////////////////////////////////
7c913512
FM
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//@{
23324ae1
FM
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*/
4cc4bfaf
FM
15wxCONCAT(x1, x2);
16wxCONCAT3(x1, x2, x3);
17wxCONCAT4(x1, x2, x3, x4);
18wxCONCAT5(x1, x2, x3, x4, x5);
23324ae1
FM
19//@}
20
21
7c913512
FM
22/**
23Returns the string representation of the given symbol which can be either a
24literal or a macro (hence the advantage of using this macro instead of the
25standard preprocessor @c # operator which doesn't work with macros).
7c913512
FM
26Notice that this macro always produces a @c char string, use
27wxSTRINGIZE_T to build a wide string Unicode build.
28
4cc4bfaf 29@see wxCONCAT
23324ae1
FM
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