diff options
author | Poommetee Ketson <poommetee@protonmail.com> | 2017-07-19 02:03:34 +0700 |
---|---|---|
committer | Poommetee Ketson <poommetee@protonmail.com> | 2017-07-19 02:03:34 +0700 |
commit | 49c7620326a557bc809340dd1090b46120e43eac (patch) | |
tree | 887ca12413c5d7d21bb9ac3190a1d81bb57157b7 /core/io | |
parent | 5a42bbaace7d8a72e2842f760c6ac905ac238d2c (diff) |
Add object type hint for docs
Diffstat (limited to 'core/io')
-rw-r--r-- | core/io/ip.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/ip.cpp b/core/io/ip.cpp index 6c463b983c..c869bdad9b 100644 --- a/core/io/ip.cpp +++ b/core/io/ip.cpp @@ -240,7 +240,7 @@ void IP::_bind_methods() { ClassDB::bind_method(D_METHOD("get_resolve_item_address", "id"), &IP::get_resolve_item_address); ClassDB::bind_method(D_METHOD("erase_resolve_item", "id"), &IP::erase_resolve_item); ClassDB::bind_method(D_METHOD("get_local_addresses"), &IP::_get_local_addresses); - ClassDB::bind_method(D_METHOD("clear_cache"), &IP::clear_cache, DEFVAL("")); + ClassDB::bind_method(D_METHOD("clear_cache", "hostname"), &IP::clear_cache, DEFVAL("")); BIND_CONSTANT(RESOLVER_STATUS_NONE); BIND_CONSTANT(RESOLVER_STATUS_WAITING); |