summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorEmmanuel Leblond <emmanuel.leblond@gmail.com>2022-11-13 00:37:55 +0100
committerEmmanuel Leblond <emmanuel.leblond@gmail.com>2022-12-03 00:27:07 +0100
commitfe86a94dcf996e6262d788028e7efd1f50267e20 (patch)
treede338d0fd68e5fbe4067b8faeeb338f40e66ff4e /README.md
parentf1d501f97749fd70f590a3e82b81e55d6cf1d2d7 (diff)
downloadredot-cpp-fe86a94dcf996e6262d788028e7efd1f50267e20.tar.gz
Fix const qualifier for parameters in GDExtension api functions
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 0b38853..38451e1 100644
--- a/README.md
+++ b/README.md
@@ -76,7 +76,7 @@ extern "C" {
// Initialization.
-GDNativeBool GDN_EXPORT example_library_init(const GDNativeInterface *p_interface, const GDNativeExtensionClassLibraryPtr p_library, GDNativeInitialization *r_initialization) {
+GDNativeBool GDN_EXPORT example_library_init(const GDNativeInterface *p_interface, GDNativeExtensionClassLibraryPtr p_library, GDNativeInitialization *r_initialization) {
godot::GDExtensionBinding::InitObject init_obj(p_interface, p_library, r_initialization);
init_obj.register_initializer(initialize_example_module);