summaryrefslogtreecommitdiff
path: root/core/os/main_loop.cpp
diff options
context:
space:
mode:
authorPoommetee Ketson <poommetee@protonmail.com>2017-07-19 02:03:34 +0700
committerPoommetee Ketson <poommetee@protonmail.com>2017-07-19 02:03:34 +0700
commit49c7620326a557bc809340dd1090b46120e43eac (patch)
tree887ca12413c5d7d21bb9ac3190a1d81bb57157b7 /core/os/main_loop.cpp
parent5a42bbaace7d8a72e2842f760c6ac905ac238d2c (diff)
Add object type hint for docs
Diffstat (limited to 'core/os/main_loop.cpp')
-rw-r--r--core/os/main_loop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/main_loop.cpp b/core/os/main_loop.cpp
index 248f5537c6..93658c07c2 100644
--- a/core/os/main_loop.cpp
+++ b/core/os/main_loop.cpp
@@ -32,7 +32,7 @@
void MainLoop::_bind_methods() {
- ClassDB::bind_method(D_METHOD("input_event", "ev"), &MainLoop::input_event);
+ ClassDB::bind_method(D_METHOD("input_event", "ev:InputEvent"), &MainLoop::input_event);
ClassDB::bind_method(D_METHOD("input_text", "text"), &MainLoop::input_text);
ClassDB::bind_method(D_METHOD("init"), &MainLoop::init);
ClassDB::bind_method(D_METHOD("iteration", "delta"), &MainLoop::iteration);