2 * The UniCode Library: Reading and writing of UTF-8 on Fastbuf Streams
4 * (c) 2001--2002 Martin Mares <mj@ucw.cz>
6 * This software may be freely distributed and used according to the terms
7 * of the GNU Lesser General Public License.
13 #include "charset/unicode.h"
15 int bget_utf8_slow(struct fastbuf *b);
16 void bput_utf8_slow(struct fastbuf *b, uns u);
19 bget_utf8(struct fastbuf *b)
23 if (b->bptr + 5 <= b->bufend)
29 return bget_utf8_slow(b);
33 bput_utf8(struct fastbuf *b, uns u)
36 if (b->bptr + 5 <= b->bufend)