mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 22:21:18 +00:00
Replace Array return types with TypedArray
This commit is contained in:
parent
b9ea0e1338
commit
8be27dc59e
110 changed files with 298 additions and 272 deletions
|
|
@ -29,6 +29,7 @@
|
|||
/*************************************************************************/
|
||||
|
||||
#include "servers/text_server.h"
|
||||
#include "core/variant/typed_array.h"
|
||||
#include "servers/rendering_server.h"
|
||||
|
||||
TextServerManager *TextServerManager::singleton = nullptr;
|
||||
|
|
@ -1585,8 +1586,8 @@ String TextServer::strip_diacritics(const String &p_string) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
Array TextServer::parse_structured_text(StructuredTextParser p_parser_type, const Array &p_args, const String &p_text) const {
|
||||
Array ret;
|
||||
TypedArray<Vector2i> TextServer::parse_structured_text(StructuredTextParser p_parser_type, const Array &p_args, const String &p_text) const {
|
||||
TypedArray<Vector2i> ret;
|
||||
switch (p_parser_type) {
|
||||
case STRUCTURED_TEXT_URI: {
|
||||
int prev = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue