summaryrefslogtreecommitdiff
path: root/core/globals.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2015-12-28 12:26:36 +0100
committerRémi Verschelde <remi@verschelde.fr>2015-12-28 12:26:36 +0100
commitbfbde4dfd11be8728be4bb88d8bc109acb19ccfd (patch)
tree80caee83551b639717c252e5f33036a75670ad8a /core/globals.cpp
parent37cb0faedb0aa314d5e9ca2e4f4b0e268dd3237f (diff)
parentd4993b74fc715d294ca0a77b335db3782d4bdcd6 (diff)
Merge pull request #3146 from akien-mga/pr-argument-names
Add missing argument names in GDScript bindings + related fixes
Diffstat (limited to 'core/globals.cpp')
-rw-r--r--core/globals.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/globals.cpp b/core/globals.cpp
index eed37c2308..38e88e43e2 100644
--- a/core/globals.cpp
+++ b/core/globals.cpp
@@ -1390,11 +1390,11 @@ void Globals::_bind_methods() {
ObjectTypeDB::bind_method(_MD("localize_path","path"),&Globals::localize_path);
ObjectTypeDB::bind_method(_MD("globalize_path","path"),&Globals::globalize_path);
ObjectTypeDB::bind_method(_MD("save"),&Globals::save);
- ObjectTypeDB::bind_method(_MD("has_singleton"),&Globals::has_singleton);
- ObjectTypeDB::bind_method(_MD("get_singleton"),&Globals::get_singleton_object);
- ObjectTypeDB::bind_method(_MD("load_resource_pack"),&Globals::_load_resource_pack);
+ ObjectTypeDB::bind_method(_MD("has_singleton","name"),&Globals::has_singleton);
+ ObjectTypeDB::bind_method(_MD("get_singleton","name"),&Globals::get_singleton_object);
+ ObjectTypeDB::bind_method(_MD("load_resource_pack","pack"),&Globals::_load_resource_pack);
- ObjectTypeDB::bind_method(_MD("save_custom"),&Globals::_save_custom_bnd);
+ ObjectTypeDB::bind_method(_MD("save_custom","file"),&Globals::_save_custom_bnd);
}