Skip to content

Commit

Permalink
Update godot-cpp to 4.1-stable
Browse files Browse the repository at this point in the history
  • Loading branch information
2shady4u committed Jul 6, 2023
1 parent f16c0d3 commit 7d95cda
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions demo/addons/godot-sqlite/gdsqlite.gdextension
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[configuration]

entry_symbol = "sqlite_library_init"
compatibility_minimum = 4.1

[libraries]

Expand Down
2 changes: 1 addition & 1 deletion demo/project.godot
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ config_version=5

config/name="SQLite Demo"
run/main_scene="res://Main.tscn"
config/features=PackedStringArray("4.0")
config/features=PackedStringArray("4.1")
config/icon="res://icon.png"

[debug]
Expand Down
2 changes: 1 addition & 1 deletion godot-cpp
4 changes: 2 additions & 2 deletions src/register_types.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ extern "C" {

// Initialization.

GDExtensionBool GDE_EXPORT sqlite_library_init(const GDExtensionInterface *p_interface, const GDExtensionClassLibraryPtr p_library, GDExtensionInitialization *r_initialization) {
godot::GDExtensionBinding::InitObject init_obj(p_interface, p_library, r_initialization);
GDExtensionBool GDE_EXPORT sqlite_library_init(GDExtensionInterfaceGetProcAddress p_get_proc_address, const GDExtensionClassLibraryPtr p_library, GDExtensionInitialization *r_initialization) {
godot::GDExtensionBinding::InitObject init_obj(p_get_proc_address, p_library, r_initialization);

init_obj.register_initializer(initialize_sqlite_module);
init_obj.register_terminator(uninitialize_sqlite_module);
Expand Down

0 comments on commit 7d95cda

Please sign in to comment.