Unverified Commit 56175bb6 by Rémi Verschelde Committed by GitHub

Merge pull request #36896 from kuruk-mm/doc_return_variant_2

Doctool and core: Fix return type in docs for some Variant methods...
parents 77c88a63 64cd5d19
......@@ -1526,8 +1526,11 @@ void Variant::get_method_list(List<MethodInfo> *p_list) const {
PropertyInfo ret;
#ifdef DEBUG_ENABLED
ret.type = fd.return_type;
if (fd.returns)
if (fd.returns) {
ret.name = "ret";
if (fd.return_type == Variant::NIL)
ret.usage = PROPERTY_USAGE_NIL_IS_VARIANT;
}
mi.return_val = ret;
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment