comparison src/iso-wide.h @ 398:74fd4e045ea6 r21-2-29

Import from CVS: tag r21-2-29
author cvs
date Mon, 13 Aug 2007 11:13:30 +0200
parents 376386a54a3c
children 697ef44129c6
comparison
equal deleted inserted replaced
397:f4aeb21a5bad 398:74fd4e045ea6
15 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 15 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16 Boston, MA 02111-1307, USA. */ 16 Boston, MA 02111-1307, USA. */
17 17
18 /* Synched up with: Not in FSF. */ 18 /* Synched up with: Not in FSF. */
19 19
20 #ifndef _XEMACS_ISO_WIDE_H 20 #ifndef INCLUDED_iso_wide_h_
21 #define _XEMACS_ISO_WIDE_H 21 #define INCLUDED_iso_wide_h_
22 22
23 /* The following macros are designed for SunOS 5.0 wide characters, 23 /* The following macros are designed for SunOS 5.0 wide characters,
24 in which the single byte ISO Latin-1 character 1xxxxxxx are represented 24 in which the single byte ISO Latin-1 character 1xxxxxxx are represented
25 25
26 00110000 00000000 00000000 0xxxxxxx 26 00110000 00000000 00000000 0xxxxxxx
44 #define ISO_BYTE_TO_WIDE(c) ((c) & 0x7f | 0x30000000) 44 #define ISO_BYTE_TO_WIDE(c) ((c) & 0x7f | 0x30000000)
45 45
46 #define WIDE_TO_BYTE(c) (IS_ISO_WIDE (c) ? ISO_WIDE_TO_BYTE (c) : (c)) 46 #define WIDE_TO_BYTE(c) (IS_ISO_WIDE (c) ? ISO_WIDE_TO_BYTE (c) : (c))
47 #define BYTE_TO_WIDE(c) (IS_ISO_BYTE (c) ? ISO_BYTE_TO_WIDE (c) : (c)) 47 #define BYTE_TO_WIDE(c) (IS_ISO_BYTE (c) ? ISO_BYTE_TO_WIDE (c) : (c))
48 48
49 #endif /* _XEMACS_ISO_WIDE_H */ 49 #endif /* INCLUDED_iso_wide_h_ */