Revert "Fix gdnative api generation for methods that return enums"
This reverts commit aaacc753a7
.
This commit is contained in:
parent
2004c7cdca
commit
9a04e2afeb
@ -361,7 +361,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 = get_type_name(arg_info);
|
arg_type = Variant::get_type_name(arg_info.type);
|
||||||
}
|
}
|
||||||
|
|
||||||
method_api.argument_names.push_back(arg_name);
|
method_api.argument_names.push_back(arg_name);
|
||||||
|
Loading…
Reference in New Issue
Block a user