diff options
author | Norbert Preining <norbert@preining.info> | 2019-12-03 03:01:24 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-12-03 03:01:24 +0000 |
commit | b8d4bb76703bcb15578e2b23c5d256532180b894 (patch) | |
tree | bedd1df7a00521a2bd986b3c0289d6556a59e39b /support/texlab/crates/bibutils_sys/src/unicode.h | |
parent | 02e4625a78a5029e8b5dc2a4ec70193b232f497e (diff) |
CTAN sync 201912030301
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 |