Remove underscore from parameter name in `FileAccess::set_extended_attribute_string`

This commit is contained in:
Raul Santos 2025-12-12 14:20:13 +01:00
parent 1cf3180537
commit 8355286fc7
No known key found for this signature in database
GPG Key ID: B532473AE3A803E4
2 changed files with 2 additions and 2 deletions

View File

@ -1122,7 +1122,7 @@ void FileAccess::_bind_methods() {
ClassDB::bind_static_method("FileAccess", D_METHOD("get_extended_attribute", "file", "attribute_name"), &FileAccess::get_extended_attribute);
ClassDB::bind_static_method("FileAccess", D_METHOD("get_extended_attribute_string", "file", "attribute_name"), &FileAccess::get_extended_attribute_string);
ClassDB::bind_static_method("FileAccess", D_METHOD("set_extended_attribute", "file", "attribute_name", "data"), &FileAccess::set_extended_attribute);
ClassDB::bind_static_method("FileAccess", D_METHOD("set_extended_attribute_string", "file", "attribute_name", "_data"), &FileAccess::set_extended_attribute_string);
ClassDB::bind_static_method("FileAccess", D_METHOD("set_extended_attribute_string", "file", "attribute_name", "data"), &FileAccess::set_extended_attribute_string);
ClassDB::bind_static_method("FileAccess", D_METHOD("remove_extended_attribute", "file", "attribute_name"), &FileAccess::remove_extended_attribute);
ClassDB::bind_static_method("FileAccess", D_METHOD("get_extended_attributes_list", "file"), &FileAccess::get_extended_attributes_list);

View File

@ -445,7 +445,7 @@
<return type="int" enum="Error" />
<param index="0" name="file" type="String" />
<param index="1" name="attribute_name" type="String" />
<param index="2" name="_data" type="String" />
<param index="2" name="data" type="String" />
<description>
Writes file extended attribute with name [param attribute_name] as a UTF-8 encoded string.
[b]Note:[/b] This method is implemented on Linux, macOS, and Windows.