aboutsummaryrefslogtreecommitdiff
path: root/modules/gdnative/gdnative.h
diff options
context:
space:
mode:
authorThomas Herzog2017-05-19 22:12:14 +0000
committerGitHub2017-05-19 22:12:14 +0000
commit6fd217d7c3afb1f7e4c68f9ab40883593f617a7e (patch)
treee1c16a806b9b5ec71730a5b09c2ff6a4b17bc93c /modules/gdnative/gdnative.h
parenta75623f436c215e107ede321afa08a1897552deb (diff)
parentabcb044bf3f197ef68715f89abec77102bbe58ec (diff)
downloadgodot-6fd217d.tar.gz
godot-6fd217d.tar.zst
godot-6fd217d.zip
Merge pull request #8821 from touilleMan/gdnative_missing_functions
Finish implementing GDnative builtins bindings
Diffstat (limited to 'modules/gdnative/gdnative.h')
-rw-r--r--modules/gdnative/gdnative.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/gdnative/gdnative.h b/modules/gdnative/gdnative.h
index 27e0c3788..6716b684a 100644
--- a/modules/gdnative/gdnative.h
+++ b/modules/gdnative/gdnative.h
@@ -40,7 +40,7 @@
#include "godot.h"
-class GDNativeScriptData;
+struct GDNativeScriptData;
class GDNativeLibrary;
struct NativeLibrary {
@@ -127,8 +127,6 @@ struct GDNativeScriptData {
}
};
-class GDNativeLibrary;
-
class GDNativeScript : public Script {
GDCLASS(GDNativeScript, Script);
@@ -208,7 +206,7 @@ class GDNativeLibrary : public Resource {
protected:
friend class GDNativeScript;
- friend class NativeLibrary;
+ friend struct NativeLibrary;
friend class GDNativeReloadNode;
GDNativeScriptData *get_script_data(const StringName p_name);