summaryrefslogtreecommitdiff
path: root/emu/Nt/r16.h
diff options
context:
space:
mode:
authorCharles Forsyth <charles.forsyth@gmail.com>2013-06-04 14:57:30 +0000
committerCharles Forsyth <charles.forsyth@gmail.com>2013-06-04 14:57:30 +0000
commitd6154a09c1e3139c728a8df6bb0fc3cc90fdba64 (patch)
tree8196ff87c4c4a3d9a0ac630e2ef2381a137c3df5 /emu/Nt/r16.h
parenta7053ac4b096681d5ae89a863c1b81811e7716a4 (diff)
distinguish 16-bit runes from Inferno definition
Diffstat (limited to 'emu/Nt/r16.h')
-rw-r--r--emu/Nt/r16.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/emu/Nt/r16.h b/emu/Nt/r16.h
new file mode 100644
index 00000000..b245392d
--- /dev/null
+++ b/emu/Nt/r16.h
@@ -0,0 +1,10 @@
+typedef unsigned short Rune16;
+
+ wchar_t *widen(char *s);
+ char *narrowen(wchar_t *ws);
+ int widebytes(wchar_t *ws);
+ int runeslen(Rune16*);
+ Rune16* runesdup(Rune*);
+ Rune16* utftorunes(Rune*, char*, int);
+ char* runestoutf(char*, Rune16*, int);
+ int runescmp(Rune16*, Rune*);