diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-02-02 08:15:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-02 08:15:43 +0100 |
commit | a5068981373a9affbac23b638dd3fe55be36c97d (patch) | |
tree | 2a6819e1982a6606885db038e078f6f5476d2109 /core | |
parent | e59e6c69c491e60e7d462540f286c3edfe5fcb31 (diff) | |
parent | a7b1f9ee5ac7eeab1939d1290bcfa524cfbefeae (diff) |
Merge pull request #7681 from karroffel/classdb_type
corrected ClassDB::instance() return type
Diffstat (limited to 'core')
-rw-r--r-- | core/bind/core_bind.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/bind/core_bind.cpp b/core/bind/core_bind.cpp index 5dbcfc86bc..636a3f07c1 100644 --- a/core/bind/core_bind.cpp +++ b/core/bind/core_bind.cpp @@ -2512,7 +2512,7 @@ void _ClassDB::_bind_methods() { ClassDB::bind_method(_MD("class_exists","class"),&_ClassDB::class_exists); ClassDB::bind_method(_MD("is_parent_class","class","inherits"),&_ClassDB::is_parent_class); ClassDB::bind_method(_MD("can_instance","class"),&_ClassDB::can_instance); - ClassDB::bind_method(_MD("instance","class"),&_ClassDB::instance); + ClassDB::bind_method(_MD("instance:Variant","class"),&_ClassDB::instance); ClassDB::bind_method(_MD("class_has_signal","class","signal"),&_ClassDB::has_signal); ClassDB::bind_method(_MD("class_get_signal","class","signal"),&_ClassDB::get_signal); |