You've already forked godot
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:
committed by
Rémi Verschelde
parent
eeacae563c
commit
3ba5ee42c3
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user