2af417add4
character representation of input data across calls to dfaexec(), and by caching the lengths of character across calls to check_multibyte_string(). Obtained from: Fedora (Tim Waugh)
12 lines
222 B
C
12 lines
222 B
C
/* $FreeBSD$ */
|
|
#ifndef MB_CACHE_DEFINED
|
|
#define MB_CACHE_DEFINED
|
|
struct mb_cache
|
|
{
|
|
size_t len;
|
|
const char *orig_buf; /* not the only reference; do not free */
|
|
wchar_t *wcs_buf;
|
|
unsigned char *mblen_buf;
|
|
};
|
|
#endif
|