summaryrefslogtreecommitdiffstats
path: root/test/src/example.h
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-09-28 15:49:53 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-09-28 15:49:53 +0200
commitb28853aff1a917c3a9ad47915856ea0fd2373254 (patch)
tree217069f13d881c9f7078999026cc8a3fe0d48bca /test/src/example.h
parentb90d0ac555035c4db9ebc2a3516acff72e5cfb43 (diff)
downloadredot-cpp-b28853aff1a917c3a9ad47915856ea0fd2373254.tar.gz
Add test for Reference passing/returning.
Diffstat (limited to 'test/src/example.h')
-rw-r--r--test/src/example.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/src/example.h b/test/src/example.h
index e72051b..c72ad60 100644
--- a/test/src/example.h
+++ b/test/src/example.h
@@ -76,6 +76,7 @@ public:
String return_something(const String &base);
Viewport *return_something_const() const;
ExampleRef *return_extended_ref() const;
+ 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);