summaryrefslogtreecommitdiffstats
path: root/test/src/register_types.cpp
diff options
context:
space:
mode:
authorGilles Roudière <gilles.roudiere@gmail.com>2022-12-07 14:11:44 +0100
committerGilles Roudière <gilles.roudiere@gmail.com>2022-12-12 11:06:38 +0100
commitc02e644679655e842dcff543f0defef973cf946c (patch)
tree67875626a128c08eca565bc3693e2dfbe36fce75 /test/src/register_types.cpp
parentf74c47220382a8e1a347c8dda942a95caea13a0e (diff)
downloadredot-cpp-c02e644679655e842dcff543f0defef973cf946c.tar.gz
Rename GDNative to GDExtension
Non-exhaustive list of case-sensitive renames: GDExtension -> GDNative GDNATIVE -> GDEXTENSION gdextension -> gdnative ExtensionExtension -> Extension (for where there was GDNativeExtension) EXTENSION_EXTENSION -> EXTENSION (for where there was GDNATIVE_EXTENSION) gdnlib -> gdextension gdn_interface -> gde_interface gdni -> gde_interface
Diffstat (limited to 'test/src/register_types.cpp')
-rw-r--r--test/src/register_types.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/register_types.cpp b/test/src/register_types.cpp
index 2514835..917d669 100644
--- a/test/src/register_types.cpp
+++ b/test/src/register_types.cpp
@@ -5,7 +5,7 @@
#include "register_types.h"
-#include <godot/gdnative_interface.h>
+#include <godot/gdextension_interface.h>
#include <godot_cpp/core/class_db.hpp>
#include <godot_cpp/core/defs.hpp>
@@ -36,7 +36,7 @@ void uninitialize_example_module(ModuleInitializationLevel p_level) {
extern "C" {
// Initialization.
-GDNativeBool GDN_EXPORT example_library_init(const GDNativeInterface *p_interface, GDNativeExtensionClassLibraryPtr p_library, GDNativeInitialization *r_initialization) {
+GDExtensionBool GDE_EXPORT example_library_init(const GDExtensionInterface *p_interface, GDExtensionClassLibraryPtr p_library, GDExtensionInitialization *r_initialization) {
godot::GDExtensionBinding::InitObject init_obj(p_interface, p_library, r_initialization);
init_obj.register_initializer(initialize_example_module);