summaryrefslogtreecommitdiffstats
path: root/include/godot_cpp/core
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-12-14 00:40:17 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-12-14 12:36:59 +0100
commitbab247dcb6b429b108ec585e80760bf6aa7c1771 (patch)
treef9c9c544f01202685a973155086dc9b14c1b2dd7 /include/godot_cpp/core
parent1e8eb1c1f2c3cb2029b9f0202d8ce5dbe18ec33d (diff)
downloadredot-cpp-bab247dcb6b429b108ec585e80760bf6aa7c1771.tar.gz
Rename godot-headers to gdextension, move header to top folder
Changes the `<godot/gdextension_interface.h>` include to simply `<gdextension_interface.h>`. Refactor and better document the SCons and CMake logic around setting the paths to the header and API JSON file.
Diffstat (limited to 'include/godot_cpp/core')
-rw-r--r--include/godot_cpp/core/binder_common.hpp2
-rw-r--r--include/godot_cpp/core/builtin_ptrcall.hpp2
-rw-r--r--include/godot_cpp/core/class_db.hpp2
-rw-r--r--include/godot_cpp/core/engine_ptrcall.hpp2
-rw-r--r--include/godot_cpp/core/math.hpp2
-rw-r--r--include/godot_cpp/core/method_bind.hpp2
-rw-r--r--include/godot_cpp/core/object.hpp2
-rw-r--r--include/godot_cpp/core/property_info.hpp2
-rw-r--r--include/godot_cpp/core/type_info.hpp2
9 files changed, 9 insertions, 9 deletions
diff --git a/include/godot_cpp/core/binder_common.hpp b/include/godot_cpp/core/binder_common.hpp
index 30ff8f3..e97702d 100644
--- a/include/godot_cpp/core/binder_common.hpp
+++ b/include/godot_cpp/core/binder_common.hpp
@@ -31,7 +31,7 @@
#ifndef GODOT_BINDER_COMMON_HPP
#define GODOT_BINDER_COMMON_HPP
-#include <godot/gdextension_interface.h>
+#include <gdextension_interface.h>
#include <godot_cpp/core/method_ptrcall.hpp>
#include <godot_cpp/core/type_info.hpp>
diff --git a/include/godot_cpp/core/builtin_ptrcall.hpp b/include/godot_cpp/core/builtin_ptrcall.hpp
index 1b5aadd..ba0546b 100644
--- a/include/godot_cpp/core/builtin_ptrcall.hpp
+++ b/include/godot_cpp/core/builtin_ptrcall.hpp
@@ -31,7 +31,7 @@
#ifndef GODOT_BUILTIN_PTRCALL_HPP
#define GODOT_BUILTIN_PTRCALL_HPP
-#include <godot/gdextension_interface.h>
+#include <gdextension_interface.h>
#include <array>
diff --git a/include/godot_cpp/core/class_db.hpp b/include/godot_cpp/core/class_db.hpp
index 8d7740f..9148359 100644
--- a/include/godot_cpp/core/class_db.hpp
+++ b/include/godot_cpp/core/class_db.hpp
@@ -31,7 +31,7 @@
#ifndef GODOT_CLASS_DB_HPP
#define GODOT_CLASS_DB_HPP
-#include <godot/gdextension_interface.h>
+#include <gdextension_interface.h>
#include <godot_cpp/core/defs.hpp>
#include <godot_cpp/core/error_macros.hpp>
diff --git a/include/godot_cpp/core/engine_ptrcall.hpp b/include/godot_cpp/core/engine_ptrcall.hpp
index 9400cd8..f361166 100644
--- a/include/godot_cpp/core/engine_ptrcall.hpp
+++ b/include/godot_cpp/core/engine_ptrcall.hpp
@@ -31,7 +31,7 @@
#ifndef GODOT_ENGINE_PTRCALL_HPP
#define GODOT_ENGINE_PTRCALL_HPP
-#include <godot/gdextension_interface.h>
+#include <gdextension_interface.h>
#include <godot_cpp/core/binder_common.hpp>
#include <godot_cpp/core/object.hpp>
diff --git a/include/godot_cpp/core/math.hpp b/include/godot_cpp/core/math.hpp
index 1436f20..2274569 100644
--- a/include/godot_cpp/core/math.hpp
+++ b/include/godot_cpp/core/math.hpp
@@ -33,7 +33,7 @@
#include <godot_cpp/core/defs.hpp>
-#include <godot/gdextension_interface.h>
+#include <gdextension_interface.h>
#include <cmath>
diff --git a/include/godot_cpp/core/method_bind.hpp b/include/godot_cpp/core/method_bind.hpp
index 260500f..0b5925b 100644
--- a/include/godot_cpp/core/method_bind.hpp
+++ b/include/godot_cpp/core/method_bind.hpp
@@ -36,7 +36,7 @@
#include <godot_cpp/core/memory.hpp>
-#include <godot/gdextension_interface.h>
+#include <gdextension_interface.h>
#include <godot_cpp/classes/global_constants.hpp>
diff --git a/include/godot_cpp/core/object.hpp b/include/godot_cpp/core/object.hpp
index 9fa2bb1..f6348be 100644
--- a/include/godot_cpp/core/object.hpp
+++ b/include/godot_cpp/core/object.hpp
@@ -41,7 +41,7 @@
#include <godot_cpp/godot.hpp>
-#include <godot/gdextension_interface.h>
+#include <gdextension_interface.h>
#include <vector>
diff --git a/include/godot_cpp/core/property_info.hpp b/include/godot_cpp/core/property_info.hpp
index a0c5126..ea96156 100644
--- a/include/godot_cpp/core/property_info.hpp
+++ b/include/godot_cpp/core/property_info.hpp
@@ -39,7 +39,7 @@
#include <godot_cpp/godot.hpp>
-#include <godot/gdextension_interface.h>
+#include <gdextension_interface.h>
namespace godot {
diff --git a/include/godot_cpp/core/type_info.hpp b/include/godot_cpp/core/type_info.hpp
index e570db7..ddbb0b6 100644
--- a/include/godot_cpp/core/type_info.hpp
+++ b/include/godot_cpp/core/type_info.hpp
@@ -35,7 +35,7 @@
#include <godot_cpp/variant/typed_array.hpp>
#include <godot_cpp/variant/variant.hpp>
-#include <godot/gdextension_interface.h>
+#include <gdextension_interface.h>
namespace godot {