diff options
Diffstat (limited to 'support/texlab/crates/bibutils_sys/src/unicode.h')
-rw-r--r-- | support/texlab/crates/bibutils_sys/src/unicode.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/support/texlab/crates/bibutils_sys/src/unicode.h b/support/texlab/crates/bibutils_sys/src/unicode.h new file mode 100644 index 0000000000..41c292b352 --- /dev/null +++ b/support/texlab/crates/bibutils_sys/src/unicode.h @@ -0,0 +1,22 @@ +/* + * unicode.h + * + * Copyright (c) Chris Putnam 2004-2019 + * + * Program and source code released under the GPL version 2 + */ +#ifndef UNICODE_H +#define UNICODE_H + +#include "str.h" + +#define UNICODE_SYMBOL (1) +#define UNICODE_UPPER (2) /* Uppercase letter */ +#define UNICODE_LOWER (4) /* Lowercase letter */ +#define UNICODE_NUMBER (8) /* Numeric character */ +#define UNICODE_MIXEDCASE ( UNICODE_UPPER | UNICODE_LOWER ) + +extern unsigned short unicode_utf8_classify( char *p ); +extern unsigned short unicode_utf8_classify_str( str *s ); + +#endif |