plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit a21158473db3261329f14e565e3bcc257cc8ccc2
parent 37c9485968da09d0412b2c1297e9c325789476a3
Author: Russ Cox <rsc@swtch.com>
Date:   Sun, 13 Sep 2009 17:42:33 -0400

postscript: update for 32-bit Rune

http://codereview.appspot.com/117062

Diffstat:
Msrc/cmd/postscript/common/rune.h | 14+-------------
1 file changed, 1 insertion(+), 13 deletions(-)

diff --git a/src/cmd/postscript/common/rune.h b/src/cmd/postscript/common/rune.h @@ -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>