1 #include "ruby.h"
2 
3 #define init(n) {void Init_##n(VALUE klass); Init_##n(klass);}
4 
5 void
Init_hash(void)6 Init_hash(void)
7 {
8     VALUE mBug = rb_define_module("Bug");
9     VALUE klass = rb_define_class_under(mBug, "Hash", rb_cHash);
10     TEST_INIT_FUNCS(init);
11 }
12