Removes type information from vararg method binds
This commit is contained in:
parent
2f290038d6
commit
b8420cda9c
|
@ -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);
|
||||
}
|
||||
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue