summaryrefslogtreecommitdiff
path: root/modules/gdnative/gdnative.h
diff options
context:
space:
mode:
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 27e0c3788b..6716b684a0 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);