add wxCONCAT[345]() helper macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		| @@ -17,6 +17,10 @@ | ||||
| #define wxCONCAT_HELPER(text, line) text ## line | ||||
| #define wxCONCAT(text, line)        wxCONCAT_HELPER(text, line) | ||||
|  | ||||
| #define wxCONCAT3(x1, x2, x3) wxCONCAT(wxCONCAT(x1, x2), x3) | ||||
| #define wxCONCAT4(x1, x2, x3, x4) wxCONCAT(wxCONCAT3(x1, x2, x3), x4) | ||||
| #define wxCONCAT5(x1, x2, x3, x4, x5) wxCONCAT(wxCONCAT4(x1, x2, x3, x4), x5) | ||||
|  | ||||
| /* wxSTRINGIZE works as the preprocessor # operator but also works with macros */ | ||||
| #define wxSTRINGIZE_HELPER(x)       #x | ||||
| #define wxSTRINGIZE(x)              wxSTRINGIZE_HELPER(x) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user