fix header

pull/21/head
Ramesh Ravone 2017-07-24 10:32:07 +05:30
parent 2195f2e9a8
commit 76f5203be2
No known key found for this signature in database
GPG Key ID: 90B471D9AC10312A
22 changed files with 24 additions and 24 deletions

View File

@ -33,7 +33,7 @@ if platform == "osx":
env.Append(LINKFLAGS = ['-arch', 'x86_64', '-framework', 'Cocoa', '-Wl,-undefined,dynamic_lookup']) env.Append(LINKFLAGS = ['-arch', 'x86_64', '-framework', 'Cocoa', '-Wl,-undefined,dynamic_lookup'])
if platform == "linux": if platform == "linux":
env.Append(CCFLAGS = ['-g','-O3', '-std=c++14']) env.Append(CCFLAGS = ['-g','-O3', '-std=c++14', '-fPIC'])
env.Append(CPPPATH=['.', godot_headers_path, 'include', 'include/core']) env.Append(CPPPATH=['.', godot_headers_path, 'include', 'include/core'])

View File

@ -64,7 +64,7 @@ def generate_class_header(used_classes, c):
source.append("") source.append("")
source.append("") source.append("")
source.append("#include <godot.h>") source.append("#include <godot_nativescript.h>")
source.append("#include <stdint.h>") source.append("#include <stdint.h>")
source.append("") source.append("")
@ -419,7 +419,7 @@ def generate_icall_header(icalls):
source.append("") source.append("")
source.append("#include <godot.h>") source.append("#include <godot_nativescript.h>")
source.append("#include <stdint.h>") source.append("#include <stdint.h>")
source.append("") source.append("")
@ -469,7 +469,7 @@ def generate_icall_implementation(icalls):
source.append("") source.append("")
source.append("#include <godot.h>") source.append("#include <godot_nativescript.h>")
source.append("#include <stdint.h>") source.append("#include <stdint.h>")
source.append("") source.append("")

View File

@ -1,7 +1,7 @@
#ifndef ARRAY_H #ifndef ARRAY_H
#define ARRAY_H #define ARRAY_H
#include <godot/godot_array.h> #include <godot/array.h>
#include "String.hpp" #include "String.hpp"

View File

@ -1,7 +1,7 @@
#ifndef COLOR_H #ifndef COLOR_H
#define COLOR_H #define COLOR_H
#include <godot/godot_color.h> #include <godot/color.h>
#include <cmath> #include <cmath>

View File

@ -5,7 +5,7 @@
#include "Array.hpp" #include "Array.hpp"
#include <godot/godot_dictionary.h> #include <godot/dictionary.h>
namespace godot { namespace godot {

View File

@ -4,7 +4,7 @@
#include <cstdlib> #include <cstdlib>
#include <cstring> #include <cstring>
#include <godot.h> #include <godot_nativescript.h>
#include <CoreTypes.hpp> #include <CoreTypes.hpp>

View File

@ -3,7 +3,7 @@
#include "String.hpp" #include "String.hpp"
#include <godot/godot_node_path.h> #include <godot/node_path.h>
namespace godot { namespace godot {

View File

@ -8,7 +8,7 @@
#include "Vector2.hpp" #include "Vector2.hpp"
#include "Vector3.hpp" #include "Vector3.hpp"
#include <godot/godot_pool_arrays.h> #include <godot/pool_arrays.h>
namespace godot { namespace godot {

View File

@ -1,7 +1,7 @@
#ifndef RID_H #ifndef RID_H
#define RID_H #define RID_H
#include <godot/godot_rid.h> #include <godot/rid.h>
namespace godot { namespace godot {

View File

@ -1,7 +1,7 @@
#ifndef STRING_H #ifndef STRING_H
#define STRING_H #define STRING_H
#include <godot/godot_string.h> #include <godot/string.h>
namespace godot { namespace godot {

View File

@ -1,7 +1,7 @@
#ifndef VARIANT_H #ifndef VARIANT_H
#define VARIANT_H #define VARIANT_H
#include <godot/godot_variant.h> #include <godot/variant.h>
#include "Defs.hpp" #include "Defs.hpp"

View File

@ -1,7 +1,7 @@
#ifndef VECTOR2_H #ifndef VECTOR2_H
#define VECTOR2_H #define VECTOR2_H
#include <godot/godot_vector2.h> #include <godot/vector2.h>
#include "Defs.hpp" #include "Defs.hpp"

View File

@ -2,7 +2,7 @@
#include <cstdlib> #include <cstdlib>
#include <godot/godot_array.h> #include <godot/array.h>
#include "Variant.hpp" #include "Variant.hpp"

View File

@ -1,6 +1,6 @@
#include "Color.hpp" #include "Color.hpp"
#include <godot/godot_color.h> #include <godot/color.h>
#include <cmath> #include <cmath>

View File

@ -4,7 +4,7 @@
#include "Array.hpp" #include "Array.hpp"
#include <godot/godot_dictionary.h> #include <godot/dictionary.h>
namespace godot { namespace godot {

View File

@ -2,7 +2,7 @@
#include "String.hpp" #include "String.hpp"
#include <godot.h> #include <godot_nativescript.h>
namespace godot { namespace godot {

View File

@ -2,7 +2,7 @@
#include "String.hpp" #include "String.hpp"
#include <godot/godot_node_path.h> #include <godot/node_path.h>
namespace godot { namespace godot {

View File

@ -7,7 +7,7 @@
#include "Vector2.hpp" #include "Vector2.hpp"
#include "Vector3.hpp" #include "Vector3.hpp"
#include <godot/godot_pool_arrays.h> #include <godot/pool_arrays.h>
namespace godot { namespace godot {

View File

@ -1,6 +1,6 @@
#include "RID.hpp" #include "RID.hpp"
#include <godot/godot_rid.h> #include <godot/rid.h>
namespace godot { namespace godot {

View File

@ -2,7 +2,7 @@
#include "NodePath.hpp" #include "NodePath.hpp"
#include <godot/godot_string.h> #include <godot/string.h>
#include <string.h> #include <string.h>

View File

@ -1,6 +1,6 @@
#include "Variant.hpp" #include "Variant.hpp"
#include <godot/godot_variant.h> #include <godot/variant.h>
#include "Defs.hpp" #include "Defs.hpp"

View File

@ -2,7 +2,7 @@
#include <cmath> #include <cmath>
#include <godot/godot_vector2.h> #include <godot/vector2.h>
#include "String.hpp" #include "String.hpp"