pcsxr-1.9.92
[pcsx_rearmed.git] / win32 / intl / intl-compat.c
CommitLineData
ef79bbde
P
1/* intl-compat.c - Stub functions to call gettext functions from GNU gettext
2 Library.
3 Copyright (C) 1995 Software Foundation, Inc.
4
5This program is free software; you can redistribute it and/or modify
6it under the terms of the GNU General Public License as published by
7the Free Software Foundation; either version 2, or (at your option)
8any later version.
9
10This program is distributed in the hope that it will be useful,
11but WITHOUT ANY WARRANTY; without even the implied warranty of
12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13GNU General Public License for more details.
14
15You should have received a copy of the GNU General Public License
16along with this program; if not, write to the Free Software
17Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1307 USA. */
18
19#include "intlconfig.h"
20
21#include "libgettext.h"
22
23/* @@ end of prolog @@ */
24
25
26#undef gettext
27#undef dgettext
28#undef dcgettext
29#undef textdomain
30#undef bindtextdomain
31
32
33char *
34bindtextdomain (domainname, dirname)
35 const char *domainname;
36 const char *dirname;
37{
38 return bindtextdomain__ (domainname, dirname);
39}
40
41
42char *
43dcgettext (domainname, msgid, category)
44 const char *domainname;
45 const char *msgid;
46 int category;
47{
48 return dcgettext__ (domainname, msgid, category);
49}
50
51
52char *
53dgettext (domainname, msgid)
54 const char *domainname;
55 const char *msgid;
56{
57 return dgettext__ (domainname, msgid);
58}
59
60
61char *
62gettext (msgid)
63 const char *msgid;
64{
65 return gettext__ (msgid);
66}
67
68
69char *
70textdomain (domainname)
71 const char *domainname;
72{
73 return textdomain__ (domainname);
74}