Back to index

plt-scheme  4.2.1
intl-compat.c
Go to the documentation of this file.
00001 /* intl-compat.c - Stub functions to call gettext functions from GNU gettext
00002    Library.
00003    Copyright (C) 1995 Software Foundation, Inc.
00004 
00005 This program is free software; you can redistribute it and/or modify
00006 it under the terms of the GNU General Public License as published by
00007 the Free Software Foundation; either version 2, or (at your option)
00008 any later version.
00009 
00010 This program is distributed in the hope that it will be useful,
00011 but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013 GNU General Public License for more details.
00014 
00015 You should have received a copy of the GNU General Public License
00016 along with this program; if not, write to the Free Software
00017 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
00018 
00019 #ifdef HAVE_CONFIG_H
00020 # include <config.h>
00021 #endif
00022 
00023 #include "libgettext.h"
00024 
00025 /* @@ end of prolog @@ */
00026 
00027 
00028 #undef gettext
00029 #undef dgettext
00030 #undef dcgettext
00031 #undef textdomain
00032 #undef bindtextdomain
00033 
00034 
00035 char *
00036 bindtextdomain (domainname, dirname)
00037      const char *domainname;
00038      const char *dirname;
00039 {
00040   return bindtextdomain__ (domainname, dirname);
00041 }
00042 
00043 
00044 char *
00045 dcgettext (domainname, msgid, category)
00046      const char *domainname;
00047      const char *msgid;
00048      int category;
00049 {
00050   return dcgettext__ (domainname, msgid, category);
00051 }
00052 
00053 
00054 char *
00055 dgettext (domainname, msgid)
00056      const char *domainname;
00057      const char *msgid;
00058 {
00059   return dgettext__ (domainname, msgid);
00060 }
00061 
00062 
00063 char *
00064 gettext (msgid)
00065      const char *msgid;
00066 {
00067   return gettext__ (msgid);
00068 }
00069 
00070 
00071 char *
00072 textdomain (domainname)
00073      const char *domainname;
00074 {
00075   return textdomain__ (domainname);
00076 }