summaryrefslogtreecommitdiff
path: root/jni/ruby/ext/-test-/string/init.c
blob: 0b3e4a6ff2542534c67f5d6446fab555a1fa0326 (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_string(void)
{
    VALUE mBug = rb_define_module("Bug");
    VALUE klass = rb_define_class_under(mBug, "String", rb_cString);
    TEST_INIT_FUNCS(init);
}