mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 20:23:53 +00:00
Merge pull request #35847 from raniejade/ranie/fix-api-generator
Fix gdnative api generation for methods that return enums
This commit is contained in:
commit
5ade46199f
@ -405,7 +405,7 @@ List<ClassAPI> generate_c_api_classes() {
|
||||
arg_type = Variant::get_type_name(arg_info.type);
|
||||
}
|
||||
} else {
|
||||
arg_type = Variant::get_type_name(arg_info.type);
|
||||
arg_type = get_type_name(arg_info);
|
||||
}
|
||||
|
||||
method_api.argument_names.push_back(arg_name);
|
||||
|
Loading…
Reference in New Issue
Block a user