mirror of
https://github.com/godotengine/godot.git
synced 2025-10-21 00:43:46 +00:00
Add NIL_IS_VARIANT usage to few definitions
The missing usage flag led to GDNative API descriptions containting arguments with "void" type.
This commit is contained in:
parent
b759d1416f
commit
61ddf52983
3 changed files with 3 additions and 3 deletions
|
@ -1578,7 +1578,7 @@ void GDFunctionState::_bind_methods() {
|
|||
ClassDB::bind_method(D_METHOD("is_valid", "extended_check"), &GDFunctionState::is_valid, DEFVAL(false));
|
||||
ClassDB::bind_vararg_method(METHOD_FLAGS_DEFAULT, "_signal_callback", &GDFunctionState::_signal_callback, MethodInfo("_signal_callback"));
|
||||
|
||||
ADD_SIGNAL(MethodInfo("completed", PropertyInfo(Variant::NIL, "result")));
|
||||
ADD_SIGNAL(MethodInfo("completed", PropertyInfo(Variant::NIL, "result", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_NIL_IS_VARIANT)));
|
||||
}
|
||||
|
||||
GDFunctionState::GDFunctionState() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue