* cfgloop.c (flow_loop_entry_edges_find): Fix typo.
[official-gcc.git] / gcc / mbchar.h
blob44f83982d1207f54f60f18c7c9cb14e1507da3f4
1 /* Various declarations for functions found in mbchar.c
2 Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
4 This file is part of GCC.
6 GCC is free software; you can redistribute it and/or modify it under
7 the terms of the GNU General Public License as published by the Free
8 Software Foundation; either version 2, or (at your option) any later
9 version.
11 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 for more details.
16 You should have received a copy of the GNU General Public License
17 along with GCC; see the file COPYING. If not, write to the Free
18 Software Foundation, 59 Temple Place - Suite 330, Boston, MA
19 02111-1307, USA. */
21 #ifndef GCC_MBCHAR_H
22 #define GCC_MBCHAR_H
24 #ifdef MULTIBYTE_CHARS
26 /* Escape character used for JIS encoding */
27 #define JIS_ESC_CHAR 0x1b
29 #define ISSJIS1(c) (((c) >= 0x81 && (c) <= 0x9f) || ((c) >= 0xe0 && (c) <= 0xef))
30 #define ISSJIS2(c) (((c) >= 0x40 && (c) <= 0x7e) || ((c) >= 0x80 && (c) <= 0xfc))
31 #define ISEUCJP(c) ((c) >= 0xa1 && (c) <= 0xfe)
32 #define ISJIS(c) ((c) >= 0x21 && (c) <= 0x7e)
34 extern int local_mbtowc PARAMS ((wchar_t *, const char *, size_t));
35 extern int local_mblen PARAMS ((const char *, size_t));
36 extern int local_mb_cur_max PARAMS ((void));
38 /* The locale being used for multibyte characters in string/char literals. */
39 extern const char *literal_codeset;
40 #endif /* MULTIBYTE_CHARS */
41 #endif /* ! GCC_MBCHAR_H */