fixed some includes. replace cycle include with forward declaration

pull/100/head
Nickolai Korshunov 2018-02-23 14:56:36 +03:00
parent 7adae4673c
commit 73a67b16b1
2 changed files with 7 additions and 6 deletions

View File

@ -8,13 +8,13 @@
#include <nativescript/godot_nativescript.h>
#include <core/CoreTypes.hpp>
#include <core/Variant.hpp>
#include <core/Ref.hpp>
#include "CoreTypes.hpp"
#include "Variant.hpp"
#include "Ref.hpp"
#include <Object.hpp>
#include "Object.hpp"
#include <core/GodotGlobal.hpp>
#include "GodotGlobal.hpp"
namespace godot {

View File

@ -3,9 +3,10 @@
#include "Variant.hpp"
#include "GodotGlobal.hpp"
#include "../Reference.hpp"
namespace godot {
class Reference;
class Object;
// Replicates Godot's Ref<T> behavior
// Rewritten from f5234e70be7dec4930c2d5a0e829ff480d044b1d.