diff options
| author | Charles Forsyth <charles.forsyth@gmail.com> | 2015-06-14 12:32:13 +0100 |
|---|---|---|
| committer | Charles Forsyth <charles.forsyth@gmail.com> | 2015-06-14 12:32:13 +0100 |
| commit | 89dfe4bea0ef29d57db26cade21924eb38402e02 (patch) | |
| tree | 3c1d63e095ae2070c1e2bc595639d23fc5c4bf6f /emu/Nt/r16.h | |
| parent | 62d7827bc358c000db9ff48fe61bd28ac352a884 (diff) | |
handle 16-bit unicode from Windows in clipboard and fs names
Diffstat (limited to 'emu/Nt/r16.h')
| -rw-r--r-- | emu/Nt/r16.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/emu/Nt/r16.h b/emu/Nt/r16.h index de09eacc..ea4ee286 100644 --- a/emu/Nt/r16.h +++ b/emu/Nt/r16.h @@ -1,10 +1,11 @@ typedef unsigned short Rune16; - wchar_t *widen(char *s); - char *narrowen(wchar_t *ws); - int widebytes(wchar_t *ws); - int runes16len(Rune16*); - Rune16* runes16dup(Rune16*); - Rune16* utftorunes16(Rune16*, char*, int); - char* runes16toutf(char*, Rune16*, int); - int runes16cmp(Rune16*, Rune16*); +wchar_t *widen(char *s); +char *narrowen(wchar_t *ws); +int widebytes(wchar_t *ws); +int runes16len(Rune16*); +int rune16nlen(Rune16*, int); +Rune16* runes16dup(Rune16*); +Rune16* utftorunes16(Rune16*, char*, int); +char* runes16toutf(char*, Rune16*, int); +int runes16cmp(Rune16*, Rune16*); |
