diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-09 12:35:00 +0100 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-09 12:35:00 +0100 |
| commit | 77af6ca8adccc7ebcea4dff370bcd28e45715b0c (patch) | |
| tree | f3515d394160557e7da0612c0a2e2390da5fefbb /modules/gdscript/gdscript_cache.h | |
| parent | 1774c17b64a0c0bf3f4f6ce85f38af576cf72a8a (diff) | |
| parent | 72e5f8c31e9237a4581cf250aa9943a4290f4017 (diff) | |
| download | redot-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.h | 1 |
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); |
