You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Removes type information from vararg method binds
This commit is contained in:
@@ -61,7 +61,7 @@ void FuncRef::_bind_methods() {
|
||||
MethodInfo mi;
|
||||
mi.name = "call_func";
|
||||
Vector<Variant> defargs;
|
||||
ClassDB::bind_vararg_method(METHOD_FLAGS_DEFAULT, "call_func:Variant", &FuncRef::call_func, mi, defargs);
|
||||
ClassDB::bind_vararg_method(METHOD_FLAGS_DEFAULT, "call_func", &FuncRef::call_func, mi, defargs);
|
||||
}
|
||||
|
||||
ClassDB::bind_method(D_METHOD("set_instance", "instance"), &FuncRef::set_instance);
|
||||
|
||||
@@ -1699,7 +1699,7 @@ void Object::_bind_methods() {
|
||||
mi.name = "call";
|
||||
mi.arguments.push_back(PropertyInfo(Variant::STRING, "method"));
|
||||
|
||||
ClassDB::bind_vararg_method(METHOD_FLAGS_DEFAULT, "call:Variant", &Object::_call_bind, mi);
|
||||
ClassDB::bind_vararg_method(METHOD_FLAGS_DEFAULT, "call", &Object::_call_bind, mi);
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user