mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
GDScript: Lambda hotswap fixes
This commit is contained in:
parent
13a0d6e9b2
commit
49bce5c9ef
6 changed files with 92 additions and 180 deletions
|
@ -45,19 +45,19 @@ class GDScriptCompiler {
|
|||
GDScript *main_script = nullptr;
|
||||
|
||||
struct FunctionLambdaInfo {
|
||||
GDScriptFunction *function;
|
||||
GDScriptFunction *parent;
|
||||
Ref<GDScript> script;
|
||||
GDScriptFunction *function = nullptr;
|
||||
GDScriptFunction *parent = nullptr;
|
||||
GDScript *script = nullptr;
|
||||
StringName name;
|
||||
int line;
|
||||
int index;
|
||||
int depth;
|
||||
int line = 0;
|
||||
int index = 0;
|
||||
int depth = 0;
|
||||
//uint64_t code_hash;
|
||||
//int code_size;
|
||||
int capture_count;
|
||||
int use_self;
|
||||
int arg_count;
|
||||
int default_arg_count;
|
||||
int capture_count = 0;
|
||||
bool use_self = false;
|
||||
int arg_count = 0;
|
||||
int default_arg_count = 0;
|
||||
//Vector<GDScriptDataType> argument_types;
|
||||
//GDScriptDataType return_type;
|
||||
Vector<FunctionLambdaInfo> sublambdas;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue