Date: Thursday, March 16, 2006 @ 18:16:35
  Author: marc
    Path: /cvsroot/carob/carob/include

Modified: Common.hpp (1.35 -> 1.36)

Added 3 macros: WIDENLITERAL(str), WIDENMACRO(mac), __WFILE__


------------+
 Common.hpp |    4 ++++
 1 files changed, 4 insertions(+)


Index: carob/include/Common.hpp
diff -u carob/include/Common.hpp:1.35 carob/include/Common.hpp:1.36
--- carob/include/Common.hpp:1.35       Thu Mar 16 15:36:56 2006
+++ carob/include/Common.hpp    Thu Mar 16 18:16:35 2006
@@ -37,6 +37,10 @@
 #define   ERROR_PRE  L"ERROR:\t"
 #define   FATAL_PRE  L"FATAL:\t"
 
+#define   WIDENLITERAL(literalstring) L ## literalstring
+#define   WIDENMACRO(macro) WIDENLITERAL(macro)
+#define   __WFILE__ WIDENMACRO(__FILE__)
+
 namespace CarobNS {
 
 /** Java byte (signed) */

_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits

Reply via email to