mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 22:21:18 +00:00
Add object type hint for docs
This commit is contained in:
parent
5a42bbaace
commit
49c7620326
37 changed files with 73 additions and 73 deletions
|
|
@ -1587,13 +1587,13 @@ MethodInfo GDFunctions::get_info(Function p_func) {
|
|||
} break;
|
||||
case TO_JSON: {
|
||||
|
||||
MethodInfo mi("to_json", PropertyInfo(Variant::NIL, "var:Variant"));
|
||||
MethodInfo mi("to_json", PropertyInfo(Variant::NIL, "var"));
|
||||
mi.return_val.type = Variant::STRING;
|
||||
return mi;
|
||||
} break;
|
||||
case HASH: {
|
||||
|
||||
MethodInfo mi("hash", PropertyInfo(Variant::NIL, "var:Variant"));
|
||||
MethodInfo mi("hash", PropertyInfo(Variant::NIL, "var"));
|
||||
mi.return_val.type = Variant::INT;
|
||||
return mi;
|
||||
} break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue