summaryrefslogtreecommitdiff
path: root/jni/ruby/ext/-test-/bignum/init.c
blob: 82a159bf1d810d85e389f890375de52fa54ed349 (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_bignum(void)
{
    VALUE mBug = rb_define_module("Bug");
    VALUE klass = rb_define_class_under(mBug, "Bignum", rb_cString);
    TEST_INIT_FUNCS(init);
}