Ruby  1.9.3p484(2013-11-22revision43786)
init.c
Go to the documentation of this file.
1 #include "ruby.h"
2 
3 #define init(n) {void Init_##n(VALUE klass); Init_##n(klass);}
4 
5 void
7 {
8  VALUE mBug = rb_define_module("Bug");
9  VALUE klass = rb_define_class_under(mBug, "String", rb_cString);
11 }
12