mirror of
https://github.com/ChronosX88/psyced.git
synced 2024-11-13 22:11:02 +00:00
21 lines
360 B
C
21 lines
360 B
C
#ifndef _INCLUDE_TEXT_H
|
|
#define _INCLUDE_TEXT_H
|
|
#ifndef __PIKE__
|
|
|
|
#ifndef NO_INHERIT
|
|
virtual inherit NET_PATH "textc";
|
|
#endif
|
|
|
|
// #ifndef DEBUG
|
|
#if 1
|
|
# define T(mc, fmt) \
|
|
((objectp(_tob) && member(_tdb, mc)) ? _tdb[mc] : getText(mc, fmt))
|
|
#else
|
|
# define T(mc, fmt) \
|
|
S("\n<<< %O >>>\n%s", _tdb, getText(mc, fmt))
|
|
#endif
|
|
// #endif
|
|
|
|
#endif // __PIKE__
|
|
#endif
|