mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Add GDScript to_wchar_buffer
and get_string_from_wchar
functions.
This commit is contained in:
parent
2a05522283
commit
d72b563250
8 changed files with 44 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue