diff options
| author | Rémi Verschelde | 2017-02-13 15:46:17 +0100 |
|---|---|---|
| committer | GitHub | 2017-02-13 15:46:17 +0100 |
| commit | ea7e8c8e8699c0a0da0731f59a2ee5dfbf34d378 (patch) | |
| tree | 65ed57ff55cadd49b881e248e2f87331ca5eee28 /core/os/main_loop.cpp | |
| parent | f6859fd31b5c3cc1a112b7f77b3c1783df8c8919 (diff) | |
| parent | 411ee71b4d2dd4dfb3c137b057e0cfcdb55d6291 (diff) | |
| download | godot-ea7e8c8e8699c0a0da0731f59a2ee5dfbf34d378.tar.gz godot-ea7e8c8e8699c0a0da0731f59a2ee5dfbf34d378.tar.zst godot-ea7e8c8e8699c0a0da0731f59a2ee5dfbf34d378.zip | |
Diffstat (limited to 'core/os/main_loop.cpp')
| -rw-r--r-- | core/os/main_loop.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/os/main_loop.cpp b/core/os/main_loop.cpp index 11396666d..dcda8e895 100644 --- a/core/os/main_loop.cpp +++ b/core/os/main_loop.cpp @@ -31,12 +31,12 @@ void MainLoop::_bind_methods() { - ClassDB::bind_method(_MD("input_event","ev"),&MainLoop::input_event); - ClassDB::bind_method(_MD("input_text","text"),&MainLoop::input_text); - ClassDB::bind_method(_MD("init"),&MainLoop::init); - ClassDB::bind_method(_MD("iteration","delta"),&MainLoop::iteration); - ClassDB::bind_method(_MD("idle","delta"),&MainLoop::idle); - ClassDB::bind_method(_MD("finish"),&MainLoop::finish); + ClassDB::bind_method(D_METHOD("input_event","ev"),&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); + ClassDB::bind_method(D_METHOD("idle","delta"),&MainLoop::idle); + ClassDB::bind_method(D_METHOD("finish"),&MainLoop::finish); BIND_VMETHOD( MethodInfo("_input_event",PropertyInfo(Variant::INPUT_EVENT,"ev")) ); BIND_VMETHOD( MethodInfo("_input_text",PropertyInfo(Variant::STRING,"text")) ); |
