summaryrefslogtreecommitdiff
path: root/method.h
diff options
context:
space:
mode:
Diffstat (limited to 'method.h')
-rw-r--r--method.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/method.h b/method.h
index cc7b51dddb..ba5899ca93 100644
--- a/method.h
+++ b/method.h
@@ -45,8 +45,11 @@ typedef enum {
VM_METHOD_TYPE_CFUNC_FRAMELESS
} rb_method_type_t;
+struct rb_call_info_struct;
+
typedef struct rb_method_cfunc_struct {
VALUE (*func)(ANYARGS);
+ VALUE (*invoker)(const struct rb_call_info_struct *ci, const VALUE *argv);
int argc;
} rb_method_cfunc_t;