diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2017-07-19 10:00:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-19 10:00:20 +0200 |
| commit | c5ba9d9b7c6d7d2c08d01b13af87748af4dee8a2 (patch) | |
| tree | 540f8232f44a6fdc0646a6f3410fb644922d5cab /modules/gdscript/gd_functions.cpp | |
| parent | 1f91c2908e7c551c20dc00d88212e0aaad44f4cf (diff) | |
| parent | 49c7620326a557bc809340dd1090b46120e43eac (diff) | |
Merge pull request #9703 from Noshyaar/docs
Add object type hint for docs
Diffstat (limited to 'modules/gdscript/gd_functions.cpp')
| -rw-r--r-- | modules/gdscript/gd_functions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdscript/gd_functions.cpp b/modules/gdscript/gd_functions.cpp index a361971ef4..8bc3b24a5e 100644 --- a/modules/gdscript/gd_functions.cpp +++ b/modules/gdscript/gd_functions.cpp @@ -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; |