OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [start/] [insight/] [intl/] [intl-compat.c] - Diff between revs 579 and 1765

Only display areas with differences | Details | Blame | View Log

Rev 579 Rev 1765
/* intl-compat.c - Stub functions to call gettext functions from GNU gettext
/* intl-compat.c - Stub functions to call gettext functions from GNU gettext
   Library.
   Library.
   Copyright (C) 1995 Software Foundation, Inc.
   Copyright (C) 1995 Software Foundation, Inc.
 
 
This program is free software; you can redistribute it and/or modify
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
the Free Software Foundation; either version 2, or (at your option)
any later version.
any later version.
 
 
This program is distributed in the hope that it will be useful,
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
GNU General Public License for more details.
 
 
You should have received a copy of the GNU General Public License
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 
#ifdef HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
# include <config.h>
# include <config.h>
#endif
#endif
 
 
#include "libgettext.h"
#include "libgettext.h"
 
 
/* @@ end of prolog @@ */
/* @@ end of prolog @@ */
 
 
 
 
#undef gettext
#undef gettext
#undef dgettext
#undef dgettext
#undef dcgettext
#undef dcgettext
#undef textdomain
#undef textdomain
#undef bindtextdomain
#undef bindtextdomain
 
 
 
 
char *
char *
bindtextdomain (domainname, dirname)
bindtextdomain (domainname, dirname)
     const char *domainname;
     const char *domainname;
     const char *dirname;
     const char *dirname;
{
{
  return bindtextdomain__ (domainname, dirname);
  return bindtextdomain__ (domainname, dirname);
}
}
 
 
 
 
char *
char *
dcgettext (domainname, msgid, category)
dcgettext (domainname, msgid, category)
     const char *domainname;
     const char *domainname;
     const char *msgid;
     const char *msgid;
     int category;
     int category;
{
{
  return dcgettext__ (domainname, msgid, category);
  return dcgettext__ (domainname, msgid, category);
}
}
 
 
 
 
char *
char *
dgettext (domainname, msgid)
dgettext (domainname, msgid)
     const char *domainname;
     const char *domainname;
     const char *msgid;
     const char *msgid;
{
{
  return dgettext__ (domainname, msgid);
  return dgettext__ (domainname, msgid);
}
}
 
 
 
 
char *
char *
gettext (msgid)
gettext (msgid)
     const char *msgid;
     const char *msgid;
{
{
  return gettext__ (msgid);
  return gettext__ (msgid);
}
}
 
 
 
 
char *
char *
textdomain (domainname)
textdomain (domainname)
     const char *domainname;
     const char *domainname;
{
{
  return textdomain__ (domainname);
  return textdomain__ (domainname);
}
}
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.