summaryrefslogtreecommitdiffstats
path: root/ganv/wrap.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ganv/wrap.hpp')
-rw-r--r--ganv/wrap.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/ganv/wrap.hpp b/ganv/wrap.hpp
index db871b5..d29740e 100644
--- a/ganv/wrap.hpp
+++ b/ganv/wrap.hpp
@@ -70,6 +70,11 @@
prefix##_##name(gobj(), a1, a2); \
}
+#define METHOD3(prefix, name, t1, a1, t2, a2, t3, a3) \
+ virtual void name(t1 a1, t2 a2, t3 a3) { \
+ prefix##_##name(gobj(), a1, a2, a3); \
+ }
+
#define SIGNAL1(name, argtype) \
public: \
virtual bool on_##name(argtype arg) { \