You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Update HarfBuzz, ICU and FreeType
HarfBuzz: Update to version 7.3.0 ICU4C: Update to version 73.1 FreeType: Update to version 2.13.0
This commit is contained in:
8
thirdparty/icu4c/common/unicode/ures.h
vendored
8
thirdparty/icu4c/common/unicode/ures.h
vendored
@@ -812,7 +812,7 @@ inline UnicodeString
|
||||
ures_getUnicodeString(const UResourceBundle *resB, UErrorCode* status) {
|
||||
UnicodeString result;
|
||||
int32_t len = 0;
|
||||
const UChar *r = ures_getString(resB, &len, status);
|
||||
const char16_t *r = ures_getString(resB, &len, status);
|
||||
if(U_SUCCESS(*status)) {
|
||||
result.setTo(true, r, len);
|
||||
} else {
|
||||
@@ -837,7 +837,7 @@ inline UnicodeString
|
||||
ures_getNextUnicodeString(UResourceBundle *resB, const char ** key, UErrorCode* status) {
|
||||
UnicodeString result;
|
||||
int32_t len = 0;
|
||||
const UChar* r = ures_getNextString(resB, &len, key, status);
|
||||
const char16_t* r = ures_getNextString(resB, &len, key, status);
|
||||
if(U_SUCCESS(*status)) {
|
||||
result.setTo(true, r, len);
|
||||
} else {
|
||||
@@ -859,7 +859,7 @@ inline UnicodeString
|
||||
ures_getUnicodeStringByIndex(const UResourceBundle *resB, int32_t indexS, UErrorCode* status) {
|
||||
UnicodeString result;
|
||||
int32_t len = 0;
|
||||
const UChar* r = ures_getStringByIndex(resB, indexS, &len, status);
|
||||
const char16_t* r = ures_getStringByIndex(resB, indexS, &len, status);
|
||||
if(U_SUCCESS(*status)) {
|
||||
result.setTo(true, r, len);
|
||||
} else {
|
||||
@@ -882,7 +882,7 @@ inline UnicodeString
|
||||
ures_getUnicodeStringByKey(const UResourceBundle *resB, const char* key, UErrorCode* status) {
|
||||
UnicodeString result;
|
||||
int32_t len = 0;
|
||||
const UChar* r = ures_getStringByKey(resB, key, &len, status);
|
||||
const char16_t* r = ures_getStringByKey(resB, key, &len, status);
|
||||
if(U_SUCCESS(*status)) {
|
||||
result.setTo(true, r, len);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user