diff options
author | Nicholas <nbnoll@eml.cc> | 2021-11-10 20:12:45 -0800 |
---|---|---|
committer | Nicholas <nbnoll@eml.cc> | 2021-11-11 08:16:47 -0800 |
commit | 7ea1cdb7d31f00024f5a1d124b42cd19a03b959a (patch) | |
tree | f65abf9fa32856287de586129d4ed7c1c473864a /include | |
parent | 43688fe7190d0350349d47727c3663421d5618dc (diff) |
chore: libunicode -> libutf
Diffstat (limited to 'include')
-rw-r--r-- | include/base.h | 8 | ||||
-rw-r--r-- | include/libutf.h (renamed from include/libunicode.h) | 0 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/base.h b/include/base.h index a7813e6..b841040 100644 --- a/include/base.h +++ b/include/base.h @@ -261,12 +261,12 @@ int bufio·read(io·Buffer *buf, int sz, int n, void *out); // ----------------------------------------------------------------------------- // memory mapped files -typedef struct mmap·Reader +typedef struct mmap·Reader { vlong len; - union { - byte *buf; - ubyte *ubuf; + union{ + char *b; + uchar *u; }; } mmap·Reader; diff --git a/include/libunicode.h b/include/libutf.h index 25d6dee..25d6dee 100644 --- a/include/libunicode.h +++ b/include/libutf.h |