summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-01-07 13:58:28 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-01-07 14:24:06 +0100
commitfcc2648e18f0b6bcfd2b4e70829078346dc74b36 (patch)
tree51589af6766405604a1fd2abe6cfe465fa918b2b /core
parent50225a0f32bbf37469affb0a0797fae76ff8fdac (diff)
Fix missing arg name in bindings for GDExtension API
Diffstat (limited to 'core')
-rw-r--r--core/core_bind.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/core_bind.cpp b/core/core_bind.cpp
index fd99aa7f00..1891ea7e3a 100644
--- a/core/core_bind.cpp
+++ b/core/core_bind.cpp
@@ -1672,9 +1672,9 @@ void Directory::_bind_methods() {
ClassDB::bind_method(D_METHOD("rename", "from", "to"), &Directory::rename);
ClassDB::bind_method(D_METHOD("remove", "path"), &Directory::remove);
- ClassDB::bind_method(D_METHOD("set_include_navigational"), &Directory::set_include_navigational);
+ ClassDB::bind_method(D_METHOD("set_include_navigational", "enable"), &Directory::set_include_navigational);
ClassDB::bind_method(D_METHOD("get_include_navigational"), &Directory::get_include_navigational);
- ClassDB::bind_method(D_METHOD("set_include_hidden"), &Directory::set_include_hidden);
+ ClassDB::bind_method(D_METHOD("set_include_hidden", "enable"), &Directory::set_include_hidden);
ClassDB::bind_method(D_METHOD("get_include_hidden"), &Directory::get_include_hidden);
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "include_navigational"), "set_include_navigational", "get_include_navigational");