Bind forgotten default value for GDExtension::open_library
argument
This commit is contained in:
parent
809a982162
commit
402b3d146a
2 changed files with 2 additions and 2 deletions
|
@ -524,7 +524,7 @@ void GDExtension::deinitialize_library(InitializationLevel p_level) {
|
|||
}
|
||||
|
||||
void GDExtension::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("open_library", "path", "entry_symbol", "use_legacy_interface"), &GDExtension::open_library);
|
||||
ClassDB::bind_method(D_METHOD("open_library", "path", "entry_symbol", "use_legacy_interface"), &GDExtension::open_library, DEFVAL(false));
|
||||
ClassDB::bind_compatibility_method(D_METHOD("open_library", "path", "entry_symbol"), &GDExtension::open_library_compat_76406);
|
||||
ClassDB::bind_method(D_METHOD("close_library"), &GDExtension::close_library);
|
||||
ClassDB::bind_method(D_METHOD("is_library_open"), &GDExtension::is_library_open);
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
<return type="int" enum="Error" />
|
||||
<param index="0" name="path" type="String" />
|
||||
<param index="1" name="entry_symbol" type="String" />
|
||||
<param index="2" name="use_legacy_interface" type="bool" />
|
||||
<param index="2" name="use_legacy_interface" type="bool" default="false" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
|
|
Loading…
Reference in a new issue