git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1803 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
7d7c4c999f
commit
a26827adcc
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user