-
-
Notifications
You must be signed in to change notification settings - Fork 253
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix compiling with latest Godot master branch
- Loading branch information
Showing
8 changed files
with
111 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#ifndef ZN_GODOT_PACKED_STRING_ARRAY_H | ||
#define ZN_GODOT_PACKED_STRING_ARRAY_H | ||
|
||
#if defined(ZN_GODOT) | ||
#include <core/variant/variant.h> | ||
#elif defined(ZN_GODOT_EXTENSION) | ||
#include <godot_cpp/variant/packed_string_array.hpp> | ||
using namespace godot; | ||
#endif | ||
|
||
#endif // ZN_GODOT_PACKED_STRING_ARRAY_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#ifndef ZN_GODOT_PACKED_STRING_ARRAY_FWD_H | ||
#define ZN_GODOT_PACKED_STRING_ARRAY_FWD_H | ||
|
||
#if defined(ZN_GODOT) | ||
class String; | ||
|
||
template <typename T> | ||
class Vector; | ||
typedef Vector<String> PackedStringArray; | ||
|
||
#elif defined(ZN_GODOT_EXTENSION) | ||
#include "../macros.h" | ||
ZN_GODOT_FORWARD_DECLARE(PackedStringArray); | ||
|
||
#endif | ||
|
||
#endif // ZN_GODOT_PACKED_STRING_ARRAY_FWD_H |