mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 21:43:06 +01:00
Rename snake_case functions from localisation folder
This commit is contained in:
committed by
GitHub
parent
8504c8d05e
commit
b4480b344e
@@ -297,7 +297,7 @@ namespace String
|
||||
|
||||
size_t LengthOf(const utf8* str)
|
||||
{
|
||||
return utf8_length(str);
|
||||
return UTF8Length(str);
|
||||
}
|
||||
|
||||
size_t SizeOf(const utf8* str)
|
||||
@@ -478,7 +478,7 @@ namespace String
|
||||
|
||||
size_t GetCodepointLength(codepoint_t codepoint)
|
||||
{
|
||||
return utf8_get_codepoint_length(codepoint);
|
||||
return UTF8GetCodepointLength(codepoint);
|
||||
}
|
||||
|
||||
codepoint_t GetNextCodepoint(utf8* ptr, utf8** nextPtr)
|
||||
@@ -488,18 +488,18 @@ namespace String
|
||||
|
||||
codepoint_t GetNextCodepoint(const utf8* ptr, const utf8** nextPtr)
|
||||
{
|
||||
return utf8_get_next(ptr, nextPtr);
|
||||
return UTF8GetNext(ptr, nextPtr);
|
||||
}
|
||||
|
||||
utf8* WriteCodepoint(utf8* dst, codepoint_t codepoint)
|
||||
{
|
||||
return utf8_write_codepoint(dst, codepoint);
|
||||
return UTF8WriteCodepoint(dst, codepoint);
|
||||
}
|
||||
|
||||
void AppendCodepoint(std::string& str, codepoint_t codepoint)
|
||||
{
|
||||
char buffer[8]{};
|
||||
utf8_write_codepoint(buffer, codepoint);
|
||||
UTF8WriteCodepoint(buffer, codepoint);
|
||||
str.append(buffer);
|
||||
}
|
||||
|
||||
@@ -755,5 +755,5 @@ namespace String
|
||||
|
||||
char32_t CodepointView::iterator::GetNextCodepoint(const char* ch, const char** next)
|
||||
{
|
||||
return utf8_get_next(ch, next);
|
||||
return UTF8GetNext(ch, next);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user