ultimatepp/uppsrc/Core/t_.h
cxl 7abb1e4bbb Core: t_ macro replaced with t_ inline function
git-svn-id: svn://ultimatepp.org/upp/trunk@14212 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-04-04 08:25:24 +00:00

17 lines
No EOL
282 B
C

#ifndef t_h
#define t_h
#ifdef t_
#undef t_
#endif
#ifdef tt_
#undef tt_
#endif
inline const char *t_(const char *s) { return t_GetLngString(s); }
inline const char *tt_(const char *s) { return s; }
// #define t_(x) t_GetLngString(x)
// #define tt_(x) x
#endif