summaryrefslogtreecommitdiffstats
path: root/test/src/example.h
diff options
context:
space:
mode:
authorDavid Snopek <dsnopek@gmail.com>2023-09-21 16:20:21 -0500
committerGitHub <noreply@github.com>2023-09-21 16:20:21 -0500
commitc44c3d5ebf9826214efc971f0cbe047789af2575 (patch)
tree5ca066cd3e84799c40defebe7923d7785bc20fe6 /test/src/example.h
parent4314f91b7dc23d930506f52d3a3c88fae0f5d57d (diff)
parentc18c1916c3f465d00800921d527902f18308fbf4 (diff)
downloadredot-cpp-c44c3d5ebf9826214efc971f0cbe047789af2575.tar.gz
Merge pull request #1155 from dsnopek/callable-mp
Implement `callable_mp()` and `callable_mp_static()`
Diffstat (limited to 'test/src/example.h')
-rw-r--r--test/src/example.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/src/example.h b/test/src/example.h
index 354b7ba..4dfda23 100644
--- a/test/src/example.h
+++ b/test/src/example.h
@@ -138,6 +138,18 @@ public:
Variant test_variant_call(Variant p_variant);
+ Callable test_callable_mp();
+ Callable test_callable_mp_ret();
+ Callable test_callable_mp_retc() const;
+ Callable test_callable_mp_static() const;
+ Callable test_callable_mp_static_ret() const;
+
+ void unbound_method1(Object *p_object, String p_string, int p_int);
+ String unbound_method2(Object *p_object, String p_string, int p_int);
+ String unbound_method3(Object *p_object, String p_string, int p_int) const;
+ static void unbound_static_method1(Example *p_object, String p_string, int p_int);
+ static String unbound_static_method2(Object *p_object, String p_string, int p_int);
+
BitField<Flags> test_bitfield(BitField<Flags> flags);
// RPC