summaryrefslogtreecommitdiff
path: root/jni/ruby/ext/-test-/float/init.c
blob: d962108e39b5c43f0863a984ce4671b179d05fc9 (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_float(void)
{
    VALUE mBug = rb_define_module("Bug");
    VALUE klass = rb_define_class_under(mBug, "Float", rb_cObject);
    TEST_INIT_FUNCS(init);
}