diff options
| author | Neil <nyamatongwe@gmail.com> | 2020-06-11 10:08:29 +1000 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2020-06-11 10:08:29 +1000 |
| commit | 877def4f243e1ef5eb39a6132f3969844e00be95 (patch) | |
| tree | 5041a5f52f7d38c026d594f53d3fabc813205221 /src/UniConversion.h | |
| parent | c8136baf0e923ea16cb5e75d75539ca61129925a (diff) | |
| download | scintilla-mirror-877def4f243e1ef5eb39a6132f3969844e00be95.tar.gz | |
Backport: Use noexcept where safe and maintainable.
Backport of changeset 8300:266c8247814e.
Diffstat (limited to 'src/UniConversion.h')
| -rw-r--r-- | src/UniConversion.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/UniConversion.h b/src/UniConversion.h index 0c7adff10..871f2c7b0 100644 --- a/src/UniConversion.h +++ b/src/UniConversion.h @@ -15,7 +15,7 @@ constexpr int UTF8MaxBytes = 4; constexpr int unicodeReplacementChar = 0xFFFD; size_t UTF8Length(const wchar_t *uptr, size_t tlen) noexcept; -void UTF8FromUTF16(const wchar_t *uptr, size_t tlen, char *putf, size_t len); +void UTF8FromUTF16(const wchar_t *uptr, size_t tlen, char *putf, size_t len) noexcept; void UTF8FromUTF32Character(int uch, char *putf) noexcept; size_t UTF16Length(const char *s, size_t len) noexcept; size_t UTF16FromUTF8(const char *s, size_t len, wchar_t *tbuf, size_t tlen); |
