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 f4f2e9c..f907dea 100644
--- a/ganv/wrap.hpp
+++ b/ganv/wrap.hpp
@@ -76,6 +76,11 @@ private: \
return prefix##_##name(gobj(), a1); \
}
+#define METHODRET2(prefix, ret, name, t1, a1, t2, a2) \
+ virtual ret name(t1 a1, t2 a2) { \
+ return prefix##_##name(gobj(), a1, a2); \
+ }
+
#define METHODRETWRAP0(prefix, ret, name) \
virtual ret name() const { \
if (gobj()) { \