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:
parent
2f0df52fe7
commit
03a4b8cbc8
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue