summaryrefslogtreecommitdiff
path: root/jni/ruby/ext/-test-/proc/init.c
blob: 814c55d98b60a82eb04f533b1122c0bf0e0941d5 (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_proc(void)
{
    VALUE mBug = rb_define_module("Bug");
    VALUE klass = rb_define_module_under(mBug, "Proc");
    TEST_INIT_FUNCS(init);
}