summaryrefslogtreecommitdiff
path: root/jni/ruby/ext/-test-/method/init.c
blob: cea23462403db187f07531ebff83f7e135af8d6c (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "ruby.h"

#define init(n) {void Init_##n(VALUE klass); Init_##n(klass);}

void
Init_method(void)
{
    VALUE mBug = rb_define_module("Bug");
    VALUE klass = rb_define_module_under(mBug, "Method");
    TEST_INIT_FUNCS(init);
}