summaryrefslogtreecommitdiff
path: root/ext/-test-/rb_call_super_kw/rb_call_super_kw.c
blob: 61681ed7334498247d0210b4ba75d20ae599f685 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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);
}