summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_cache.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-02-09 12:35:00 +0100
committerRémi Verschelde <rverschelde@gmail.com>2024-02-09 12:35:00 +0100
commit77af6ca8adccc7ebcea4dff370bcd28e45715b0c (patch)
treef3515d394160557e7da0612c0a2e2390da5fefbb /modules/gdscript/gdscript_cache.h
parent1774c17b64a0c0bf3f4f6ce85f38af576cf72a8a (diff)
parent72e5f8c31e9237a4581cf250aa9943a4290f4017 (diff)
downloadredot-engine-77af6ca8adccc7ebcea4dff370bcd28e45715b0c.tar.gz
Merge pull request #87634 from vnen/gdscript-binary-tokens
GDScript: Reintroduce binary tokenization on export
Diffstat (limited to 'modules/gdscript/gdscript_cache.h')
-rw-r--r--modules/gdscript/gdscript_cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_cache.h b/modules/gdscript/gdscript_cache.h
index 0a0f403e44..0754e9feb6 100644
--- a/modules/gdscript/gdscript_cache.h
+++ b/modules/gdscript/gdscript_cache.h
@@ -99,6 +99,7 @@ public:
static void remove_script(const String &p_path);
static Ref<GDScriptParserRef> get_parser(const String &p_path, GDScriptParserRef::Status status, Error &r_error, const String &p_owner = String());
static String get_source_code(const String &p_path);
+ static Vector<uint8_t> get_binary_tokens(const String &p_path);
static Ref<GDScript> get_shallow_script(const String &p_path, Error &r_error, const String &p_owner = String());
static Ref<GDScript> get_full_script(const String &p_path, Error &r_error, const String &p_owner = String(), bool p_update_from_disk = false);
static Ref<GDScript> get_cached_script(const String &p_path);