mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +00:00
postscript: update for 32-bit Rune
http://codereview.appspot.com/117062
This commit is contained in:
parent
37c9485968
commit
a21158473d
1 changed files with 1 additions and 13 deletions
|
@ -4,16 +4,4 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#define RUNELIB 1
|
||||
|
||||
#ifdef RUNELIB
|
||||
typedef unsigned short Rune;
|
||||
|
||||
enum
|
||||
{
|
||||
UTFmax = 3, /* maximum bytes per rune */
|
||||
Runesync = 0x80, /* cannot represent part of a utf sequence (<) */
|
||||
Runeself = 0x80, /* rune and utf sequences are the same (<) */
|
||||
Runeerror = 0xFFFD /* decoding error in utf */
|
||||
};
|
||||
#endif
|
||||
#include <utf.h>
|
||||
|
|
Loading…
Reference in a new issue