Roxen.git
/
server
/
etc
/
include
/
roxen.h
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/etc/include/roxen.h:15:
// Various useful macros #define TOSTR2(X) #X #define TOSTR(X) TOSTR2(X) // Localization support #ifndef __LOCALEOBJECT #ifdef IN_ROXEN
-
mixed
get_locale();
+
string
get_locale();
#define __LOCALE (get_locale) #else /* !IN_ROXEN */ #define __LOCALE (roxen.get_locale) #endif /* IN_ROXEN */ #endif /* !__LOCALEOBJECT */ #ifndef _STR_LOCALE #define _STR_LOCALE(X, Y, Z) Locale.translate(X, __LOCALE(), Y, Z) #endif /* !_STR_LOCALE */