You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user