summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorAndreas Haas <liu.gam3@gmail.com>2017-07-16 11:56:17 +0200
committerAndreas Haas <liu.gam3@gmail.com>2017-07-16 11:57:08 +0200
commit2b7b67b7b11fcd3a198b0df0679d286e93a16154 (patch)
tree1c5024c8440f8ff10f830ea2816b5713c073d9f4 /core
parent3da3a36034bff7988e9ade868d06cec7977ca8af (diff)
Bindings: Fix Object::get_meta return type.
The method was shown as void in the docs.
Diffstat (limited to 'core')
-rw-r--r--core/object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/object.cpp b/core/object.cpp
index 3416cd8c5a..b332645c81 100644
--- a/core/object.cpp
+++ b/core/object.cpp
@@ -1655,7 +1655,7 @@ void Object::_bind_methods() {
ClassDB::bind_method(D_METHOD("get_script:Script"), &Object::get_script);
ClassDB::bind_method(D_METHOD("set_meta", "name", "value"), &Object::set_meta);
- ClassDB::bind_method(D_METHOD("get_meta", "name", "value"), &Object::get_meta);
+ ClassDB::bind_method(D_METHOD("get_meta:Variant", "name", "value"), &Object::get_meta);
ClassDB::bind_method(D_METHOD("has_meta", "name"), &Object::has_meta);
ClassDB::bind_method(D_METHOD("get_meta_list"), &Object::_get_meta_list_bind);