1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00

Unify TextServer built-in module and GDExtension code.

This commit is contained in:
bruvzg
2022-02-13 14:41:29 +02:00
parent 178961a6dc
commit f19cd44346
49 changed files with 4658 additions and 3126 deletions

View File

@@ -31,7 +31,22 @@
#ifndef SCRIPT_ITERATOR_H
#define SCRIPT_ITERATOR_H
#include "servers/text_server.h"
#ifdef GDEXTENSION
// Headers for building as GDExtension plug-in.
#include <godot_cpp/godot.hpp>
#include <godot_cpp/templates/vector.hpp>
#include <godot_cpp/variant/string.hpp>
using namespace godot;
#else
// Headers for building as built-in module.
#include "core/string/ustring.h"
#include "core/templates/vector.h"
#endif
#include <unicode/uchar.h>
#include <unicode/uloc.h>