You've already forked godot
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user