diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-09-24 11:44:48 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2019-09-24 11:52:06 +0200 |
commit | 4f294b958f0ca7964297bfb7f3742e06edaaba6a (patch) | |
tree | 8dc0dc22b128231ad3021914be1ee1e7db3d97cc /core | |
parent | ef2a7834c9d3fbbd95a9d26ff2913e4b3c5d8f5f (diff) |
doc: Sync classref with current source
Fix a few missing bindings or unspecified argument names and default values.
Diffstat (limited to 'core')
-rw-r--r-- | core/os/main_loop.cpp | 2 | ||||
-rw-r--r-- | core/script_language.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/core/os/main_loop.cpp b/core/os/main_loop.cpp index eca3b2a7f4..5587e827ba 100644 --- a/core/os/main_loop.cpp +++ b/core/os/main_loop.cpp @@ -63,6 +63,8 @@ void MainLoop::_bind_methods() { BIND_CONSTANT(NOTIFICATION_WM_ABOUT); BIND_CONSTANT(NOTIFICATION_CRASH); BIND_CONSTANT(NOTIFICATION_OS_IME_UPDATE); + BIND_CONSTANT(NOTIFICATION_APP_RESUMED); + BIND_CONSTANT(NOTIFICATION_APP_PAUSED); }; void MainLoop::set_init_script(const Ref<Script> &p_init_script) { diff --git a/core/script_language.cpp b/core/script_language.cpp index ee8589d76a..7201773ea5 100644 --- a/core/script_language.cpp +++ b/core/script_language.cpp @@ -114,7 +114,7 @@ void Script::_bind_methods() { ClassDB::bind_method(D_METHOD("get_script_method_list"), &Script::_get_script_method_list); ClassDB::bind_method(D_METHOD("get_script_signal_list"), &Script::_get_script_signal_list); ClassDB::bind_method(D_METHOD("get_script_constant_map"), &Script::_get_script_constant_map); - ClassDB::bind_method(D_METHOD("get_property_default_value"), &Script::_get_property_default_value); + ClassDB::bind_method(D_METHOD("get_property_default_value", "property"), &Script::_get_property_default_value); ClassDB::bind_method(D_METHOD("is_tool"), &Script::is_tool); |