gdki18n.h

Go to the documentation of this file.
00001 /* GDK - The GIMP Drawing Kit
00002  * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
00003  *
00004  * This library is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU Library General Public
00006  * License as published by the Free Software Foundation; either
00007  * version 2 of the License, or (at your option) any later version.
00008  *
00009  * This library is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012  * Library General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU Library General Public
00015  * License along with this library; if not, write to the
00016  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00017  * Boston, MA 02111-1307, USA.
00018  */
00019 
00020 /*
00021  * Modified by the GTK+ Team and others 1997-1999.  See the AUTHORS
00022  * file for a list of people on the GTK+ Team.  See the ChangeLog
00023  * files for a list of changes.  These files are distributed with
00024  * GTK+ at ftp://ftp.gtk.org/pub/gtk/. 
00025  */
00026 
00027 #ifndef __GDK_I18N_H__
00028 #define __GDK_I18N_H__
00029 
00030 /* GDK uses "glib". (And so does GTK).
00031  */
00032 #include <glib.h>
00033 #include <gdkconfig.h>
00034 
00035 /* international string support */
00036 
00037 #include <stdlib.h>
00038 
00039 #if !defined(GDK_HAVE_BROKEN_WCTYPE) && (defined(GDK_HAVE_WCTYPE_H) || defined(GDK_HAVE_WCHAR_H)) && !defined(X_LOCALE)
00040 #  ifdef GDK_HAVE_WCTYPE_H
00041 #    include <wctype.h>
00042 #  else
00043 #    ifdef GDK_HAVE_WCHAR_H
00044 #      include <wchar.h>
00045 #    endif
00046 #  endif
00047 #  define gdk_iswalnum(c) iswalnum(c)
00048 #  define gdk_iswspace(c) iswspace(c)
00049 #else
00050 #  include <ctype.h>
00051 #  define gdk_iswalnum(c) ((wchar_t)(c) <= 0xFF && isalnum(c))
00052 #  define gdk_iswspace(c) ((wchar_t)(c) <= 0xFF && isspace(c))
00053 #endif
00054 
00055 #endif                          /* __GDK_I18N_H__ */

Generated on Tue Jul 5 14:14:37 2011 for ROOT_528-00b_version by  doxygen 1.5.1