Fixed building

without this, the clang command fails
pull/57/head
Grosskopf 2017-12-11 16:36:03 +01:00
parent ee4729cc07
commit 575b2f4d14
2 changed files with 13 additions and 13 deletions

View File

@ -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("")

View File

@ -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 {