fixed some includes. replace cycle include with forward declaration
parent
7adae4673c
commit
73a67b16b1
|
@ -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 {
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue