summaryrefslogtreecommitdiff
path: root/ext/-test-/rb_call_super_kw/rb_call_super_kw.c
blob: 7f094545d29150e1787ace9f9575e2f0b3dd5cfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <ruby.h>

static VALUE
rb_call_super_kw_m(int argc, VALUE *argv, VALUE self)
{
    return rb_call_super_kw(argc, argv, RB_PASS_CALLED_KEYWORDS);
}

void
Init_rb_call_super_kw(void) {
    VALUE module = rb_define_module("Bug");
    module = rb_define_module_under(module, "RbCallSuperKw");
    rb_define_method(module, "m", rb_call_super_kw_m, -1);
}