subsurface/core/gettext.h
Berthold Stoeger 86831aeffe core: remove __cplusplus ifdefs
Since all source files are now C++, this is redundant.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-06-10 13:05:57 +02:00

12 lines
243 B
C

// SPDX-License-Identifier: GPL-2.0
#ifndef MYGETTEXT_H
#define MYGETTEXT_H
extern "C" const char *trGettext(const char *);
static inline const char *translate(const char *, const char *arg)
{
return trGettext(arg);
}
#endif // MYGETTEXT_H