Ruby 1.9.3p327(2012-11-10revision37606)
|
00001 #include "ruby.h" 00002 00003 #define init(n) {void Init_##n(VALUE klass); Init_##n(klass);} 00004 00005 void 00006 Init_string(void) 00007 { 00008 VALUE mBug = rb_define_module("Bug"); 00009 VALUE klass = rb_define_class_under(mBug, "String", rb_cString); 00010 TEST_INIT_FUNCS(init); 00011 } 00012