summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2017-08-09 13:20:24 +0200
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2017-08-10 07:17:51 +0200
commitb8420cda9c449160330ae30f1f89be7238502ee6 (patch)
treef4a63e12b0735b3e2f9bc56f94e560642d3845bb /core
parent2f290038d63b55e6ce40296602f36bc98ab26015 (diff)
Removes type information from vararg method binds
Diffstat (limited to 'core')
-rw-r--r--core/func_ref.cpp2
-rw-r--r--core/object.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/func_ref.cpp b/core/func_ref.cpp
index 2d74efd822..5622a03665 100644
--- a/core/func_ref.cpp
+++ b/core/func_ref.cpp
@@ -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);
diff --git a/core/object.cpp b/core/object.cpp
index a95e7c1d84..91c6013de9 100644
--- a/core/object.cpp
+++ b/core/object.cpp
@@ -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);
}
{