Revert documentation of return type for FuncRef::call_func from b80c42e

bind_native_method doesn't support this style of return type documentation.
This commit is contained in:
eska 2016-08-08 17:49:30 +02:00
parent 2f0df52fe7
commit 03a4b8cbc8

View file

@ -65,7 +65,7 @@ void FuncRef::_bind_methods() {
mi.arguments.push_back( PropertyInfo( Variant::NIL, "arg"+itos(i))); mi.arguments.push_back( PropertyInfo( Variant::NIL, "arg"+itos(i)));
defargs.push_back(Variant()); defargs.push_back(Variant());
} }
ObjectTypeDB::bind_native_method(METHOD_FLAGS_DEFAULT,"call_func:Variant",&FuncRef::call_func,mi,defargs); ObjectTypeDB::bind_native_method(METHOD_FLAGS_DEFAULT,"call_func",&FuncRef::call_func,mi,defargs);
} }