summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrosskopf <gerrit@familiegrosskopf.de>2017-12-11 16:36:03 +0100
committerGrosskopf <gerrit@familiegrosskopf.de>2017-12-11 16:36:03 +0100
commit575b2f4d1406291bf280da8f9b22e72cb022ad10 (patch)
tree5b2c4692460f4ab37eeb1a555e97e544122494c7
parentee4729cc07b904f92501d55d985ee2d325ba6e89 (diff)
downloadredot-cpp-575b2f4d1406291bf280da8f9b22e72cb022ad10.tar.gz
Fixed building
without this, the clang command fails
-rw-r--r--binding_generator.py18
-rw-r--r--include/core/Godot.hpp8
2 files changed, 13 insertions, 13 deletions
diff --git a/binding_generator.py b/binding_generator.py
index e87d963..239e643 100644
--- a/binding_generator.py
+++ b/binding_generator.py
@@ -71,8 +71,8 @@ def generate_class_header(used_classes, c):
source.append("")
- source.append("#include <CoreTypes.hpp>")
- source.append("#include <Ref.hpp>")
+ source.append("#include <core/CoreTypes.hpp>")
+ source.append("#include <core/Ref.hpp>")
class_name = strip_name(c["name"])
@@ -240,11 +240,11 @@ def generate_class_implementation(icalls, used_classes, c):
source.append("")
source.append("")
- source.append("#include <GodotGlobal.hpp>")
- source.append("#include <CoreTypes.hpp>")
- source.append("#include <Ref.hpp>")
+ source.append("#include <core/GodotGlobal.hpp>")
+ source.append("#include <core/CoreTypes.hpp>")
+ source.append("#include <core/Ref.hpp>")
- source.append("#include <Godot.hpp>")
+ source.append("#include <core/Godot.hpp>")
source.append("")
@@ -465,7 +465,7 @@ def generate_icall_header(icalls):
source.append("#include <stdint.h>")
source.append("")
- source.append("#include <CoreTypes.hpp>")
+ source.append("#include <core/CoreTypes.hpp>")
source.append("#include <Object.hpp>")
source.append("")
source.append("")
@@ -515,8 +515,8 @@ def generate_icall_implementation(icalls):
source.append("#include <stdint.h>")
source.append("")
- source.append("#include <GodotGlobal.hpp>")
- source.append("#include <CoreTypes.hpp>")
+ source.append("#include <core/GodotGlobal.hpp>")
+ source.append("#include <core/CoreTypes.hpp>")
source.append("#include <Object.hpp>")
source.append("")
source.append("")
diff --git a/include/core/Godot.hpp b/include/core/Godot.hpp
index 972a00f..0aed17b 100644
--- a/include/core/Godot.hpp
+++ b/include/core/Godot.hpp
@@ -8,13 +8,13 @@
#include <nativescript/godot_nativescript.h>
-#include <CoreTypes.hpp>
-#include <Variant.hpp>
-#include <Ref.hpp>
+#include <core/CoreTypes.hpp>
+#include <core/Variant.hpp>
+#include <core/Ref.hpp>
#include <Object.hpp>
-#include <GodotGlobal.hpp>
+#include <core/GodotGlobal.hpp>
namespace godot {