This commit is contained in:
groogy 2011-02-28 22:15:52 +00:00
parent 7d7c4c999f
commit a26827adcc

View File

@ -550,7 +550,8 @@ static VALUE Drawable_Allocate( VALUE aKlass )
static VALUE Drawable_Included( VALUE aModule, VALUE aBase ) static VALUE Drawable_Included( VALUE aModule, VALUE aBase )
{ {
rb_define_singleton_method( aBase, "allocate", Drawable_Allocate, 0 ); //rb_define_singleton_method( aBase, "allocate", Drawable_Allocate, 0 );
rb_define_alloc_func( aBase, Drawable_Allocate );
return Qnil; return Qnil;
} }