diff options
author | Nicholas <nbnoll@eml.cc> | 2021-11-10 20:12:45 -0800 |
---|---|---|
committer | Nicholas <nbnoll@eml.cc> | 2021-11-10 20:12:45 -0800 |
commit | b5de2d7bd1e08d27f7780434e601d6d3a0750583 (patch) | |
tree | 1d12af8a2c5903f1eef3b967e52474a244e78257 /sys/libunicode/vendor/common.h | |
parent | 0a1041044141ddbda0c67602e70fe8894e7430fd (diff) |
chore: libunicode -> libutf
Diffstat (limited to 'sys/libunicode/vendor/common.h')
-rw-r--r-- | sys/libunicode/vendor/common.h | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/sys/libunicode/vendor/common.h b/sys/libunicode/vendor/common.h deleted file mode 100644 index 17cb113..0000000 --- a/sys/libunicode/vendor/common.h +++ /dev/null @@ -1,46 +0,0 @@ -#pragma once - -#include <u.h> -#include <base.h> -#include <libunicode.h> - -enum -{ - // Fields inside UnicodeData.txt - Fcode, - Fname, - Fcategory, - Fcombine, - Fbidir, - Fdecomp, - Fdecimal, - Fdigit, - Fnumeric, - Fmirror, - Foldname, - Fcomment, - Fupper, - Flower, - Ftitle, - - NumFields, - NumRunes = 1 << 21, -}; - -/* input functions */ -enum -{ - ParseEOF, - ParseOK, - ParseSkip, -}; - -int parse(io·Stream *io, int nfield, char **field, int len, char *line); -int codepoint(char *s); -void codepointrange(io·Stream *utf8, char *field[NumFields], int *start, int *stop); - -/* output functions */ -void putsearch(void); -int putrange(char *ident, char *prop, int force); -int putpair(char *ident, char *prop); -int putsingle(char *ident, char *prop); |