diff options
author | Emmanuel Leblond <emmanuel.leblond@gmail.com> | 2017-04-09 14:04:01 +0200 |
---|---|---|
committer | Emmanuel Leblond <emmanuel.leblond@gmail.com> | 2017-04-09 14:04:01 +0200 |
commit | 42eba57badd70432093d8114a0e8e1fabe184e5c (patch) | |
tree | 48e9190898f865d04f6c53ee17923ac195d84179 | |
parent | 23c310be7b6d1ce77029e765e4411e4fab2d1a40 (diff) |
Add return value in ClassDB.class_[g|s]et_property bindings
-rw-r--r-- | core/bind/core_bind.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/bind/core_bind.cpp b/core/bind/core_bind.cpp index 3fcb55e5d7..1bc6fc5353 100644 --- a/core/bind/core_bind.cpp +++ b/core/bind/core_bind.cpp @@ -2455,8 +2455,8 @@ void _ClassDB::_bind_methods() { ClassDB::bind_method(D_METHOD("class_get_signal_list", "class", "no_inheritance"), &_ClassDB::get_signal_list, DEFVAL(false)); ClassDB::bind_method(D_METHOD("class_get_property_list", "class", "no_inheritance"), &_ClassDB::get_property_list, DEFVAL(false)); - ClassDB::bind_method(D_METHOD("class_get_property", "object", "property"), &_ClassDB::get_property); - ClassDB::bind_method(D_METHOD("class_set_property", "object", "property", "value"), &_ClassDB::set_property); + ClassDB::bind_method(D_METHOD("class_get_property:Variant", "object", "property"), &_ClassDB::get_property); + ClassDB::bind_method(D_METHOD("class_set_property:Error", "object", "property", "value"), &_ClassDB::set_property); ClassDB::bind_method(D_METHOD("class_has_method", "class", "method", "no_inheritance"), &_ClassDB::has_method, DEFVAL(false)); |