You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
Add GDScript to_wchar_buffer and get_string_from_wchar functions.
This commit is contained in:
@@ -5034,6 +5034,14 @@ Vector<uint8_t> String::to_utf32_buffer() const {
|
||||
return retval;
|
||||
}
|
||||
|
||||
Vector<uint8_t> String::to_wchar_buffer() const {
|
||||
#ifdef WINDOWS_ENABLED
|
||||
return to_utf16_buffer();
|
||||
#else
|
||||
return to_utf32_buffer();
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
/**
|
||||
* "Tools TRanslate". Performs string replacement for internationalization
|
||||
|
||||
Reference in New Issue
Block a user