aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/UniConversion.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2020-06-11 10:08:29 +1000
committerNeil <nyamatongwe@gmail.com>2020-06-11 10:08:29 +1000
commit877def4f243e1ef5eb39a6132f3969844e00be95 (patch)
tree5041a5f52f7d38c026d594f53d3fabc813205221 /src/UniConversion.h
parentc8136baf0e923ea16cb5e75d75539ca61129925a (diff)
downloadscintilla-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.h2
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);