summaryrefslogtreecommitdiff
path: root/jni/ruby/ext/-test-/hash/init.c
blob: 9f6cbde65271becee2b8f1b2bfe0c7f3bd6e28ff (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_hash(void)
{
    VALUE mBug = rb_define_module("Bug");
    VALUE klass = rb_define_class_under(mBug, "Hash", rb_cHash);
    TEST_INIT_FUNCS(init);
}