aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNicholas <nbnoll@eml.cc>2021-11-10 20:12:45 -0800
committerNicholas <nbnoll@eml.cc>2021-11-10 20:12:45 -0800
commitb5de2d7bd1e08d27f7780434e601d6d3a0750583 (patch)
tree1d12af8a2c5903f1eef3b967e52474a244e78257 /include
parent0a1041044141ddbda0c67602e70fe8894e7430fd (diff)
chore: libunicode -> libutf
Diffstat (limited to 'include')
-rw-r--r--include/base.h8
-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 d6618eb..d6618eb 100644
--- a/include/libunicode.h
+++ b/include/libutf.h