mbchar.c

00001 /* Copyright (C) 2001 Free Software Foundation, Inc.
00002 
00003    This program is free software; you can redistribute it and/or modify
00004    it under the terms of the GNU Lesser General Public License as published by
00005    the Free Software Foundation; either version 2.1, or (at your option)
00006    any later version.
00007 
00008    This program is distributed in the hope that it will be useful,
00009    but WITHOUT ANY WARRANTY; without even the implied warranty of
00010    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00011    GNU Lesser General Public License for more details.
00012 
00013    You should have received a copy of the GNU Lesser General Public License
00014    along with this program; if not, write to the Free Software Foundation,
00015    Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
00016 
00017 
00018 #ifdef HAVE_CONFIG_H
00019 # include <config.h>
00020 #endif
00021 
00022 #include <limits.h>
00023 
00024 #include "mbchar.h"
00025 
00026 #if IS_BASIC_ASCII
00027 
00028 /* Bit table of characters in the ISO C "basic character set".  */
00029 unsigned int is_basic_table [UCHAR_MAX / 32 + 1] =
00030 {
00031   0x00001a00,           /* '\t' '\v' '\f' */
00032   0xffffffef,           /* ' '...'#' '%'...'?' */
00033   0xfffffffe,           /* 'A'...'Z' '[' '\\' ']' '^' '_' */
00034   0x7ffffffe            /* 'a'...'z' '{' '|' '}' '~' */
00035   /* The remaining bits are 0.  */
00036 };
00037 
00038 #endif /* IS_BASIC_ASCII */

Generated on Sun Sep 24 20:10:47 2006 for WvStreams by  doxygen 1.4.7