1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

Fix gdnative api generation for methods that return enums

This commit is contained in:
Ranie Jade Ramiso
2020-02-02 22:39:20 +11:00
parent 0edcb8ed58
commit 78f55698f2

View File

@@ -366,7 +366,7 @@ List<ClassAPI> generate_c_api_classes() {
arg_type = Variant::get_type_name(arg_info.type); arg_type = Variant::get_type_name(arg_info.type);
} }
} else { } 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); method_api.argument_names.push_back(arg_name);