summaryrefslogtreecommitdiffstats
path: root/test/src/example.h
diff options
context:
space:
mode:
authorBastiaan Olij <mux213@gmail.com>2021-09-16 17:21:40 +1000
committerBastiaan Olij <mux213@gmail.com>2021-11-12 14:29:54 +1100
commitc2b690439f77e3152835bb94bba006705618661d (patch)
treec89d4f3b69e61ef5155a797ec4848e6569c0fa81 /test/src/example.h
parent271e33658db6558698153472b4a2dec15a4253ba (diff)
downloadredot-cpp-c2b690439f77e3152835bb94bba006705618661d.tar.gz
Implement index operators for Arrays
Diffstat (limited to 'test/src/example.h')
-rw-r--r--test/src/example.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/src/example.h b/test/src/example.h
index 1dc6a4e..79bcdd9 100644
--- a/test/src/example.h
+++ b/test/src/example.h
@@ -76,6 +76,9 @@ public:
CONSTANT_WITHOUT_ENUM = 314,
};
+ Example();
+ ~Example();
+
// Functions.
void simple_func();
void simple_const_func() const;
@@ -85,6 +88,7 @@ public:
Ref<ExampleRef> extended_ref_checks(Ref<ExampleRef> p_ref) const;
Variant varargs_func(const Variant **args, GDNativeInt arg_count, GDNativeCallError &error);
void emit_custom_signal(const String &name, int value);
+ Array test_array() const;
// Property.
void set_custom_position(const Vector2 &pos);