1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-03 16:55:53 +00:00

Fix compilation on Visual Studio 2013 (#10219).

This commit is contained in:
scorched
2017-10-19 19:41:36 +03:00
committed by Rémi Verschelde
parent eeacae563c
commit 3ba5ee42c3
21 changed files with 166 additions and 4 deletions

View File

@@ -46,11 +46,20 @@ typedef struct {
} godot_array;
#endif
// reduce extern "C" nesting for VS2013
#ifdef __cplusplus
}
#endif
#include <gdnative/pool_arrays.h>
#include <gdnative/variant.h>
#include <gdnative/gdnative.h>
#ifdef __cplusplus
extern "C" {
#endif
void GDAPI godot_array_new(godot_array *r_dest);
void GDAPI godot_array_new_copy(godot_array *r_dest, const godot_array *p_src);
void GDAPI godot_array_new_pool_color_array(godot_array *r_dest, const godot_pool_color_array *p_pca);