]> gcc.gnu.org Git - gcc.git/blame - gcc/mbchar.h
If errorcount nonzero, don't call abort if the function is already defined.
[gcc.git] / gcc / mbchar.h
CommitLineData
56f48ce9
DB
1/* mbchar.h - Various declarations for functions found in mbchar.c
2 Copyright (C) 1998 Free Software Foundation, Inc.
3 */
4
5#ifndef __GCC_MBCHAR_H__
6#define __GCC_MBCHAR_H__
7
8#ifdef MULTIBYTE_CHARS
9/* escape character used for JIS encoding */
10#define JIS_ESC_CHAR 0x1b
11
12#define ISSJIS1(c) ((c) >= 0x81 && (c) <= 0x9f || (c) >= 0xe0 && (c) <= 0xef)
13#define ISSJIS2(c) ((c) >= 0x40 && (c) <= 0x7e || (c) >= 0x80 && (c) <= 0xfc)
14#define ISEUCJP(c) ((c) >= 0xa1 && (c) <= 0xfe)
15#define ISJIS(c) ((c) >= 0x21 && (c) <= 0x7e)
16
17int local_mbtowc PROTO ((wchar_t *, const char *, size_t));
18int local_mblen PROTO ((const char *, size_t));
19int local_mb_cur_max PROTO ((void));
20
21/* The locale being used for multibyte characters in string/char literals. */
22extern char *literal_codeset;
23#endif /* MULTIBYTE_CHARS */
24
25#endif /* __GCC_MBCHAR_H__ */
This page took 0.085307 seconds and 5 git commands to generate.