Don't know what would be the difference but this is more semantically correct.

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1701 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
groogy 2010-11-24 11:36:07 +00:00
parent a8a1c98a41
commit 5c848f3617

View File

@ -611,7 +611,7 @@ void Init_Drawable( void )
globalDrawableModule = rb_define_module_under( sfml, "Drawable" ); globalDrawableModule = rb_define_module_under( sfml, "Drawable" );
// Class methods // Class methods
rb_define_singleton_method( globalDrawableModule, "included", Drawable_Included, 1 ); rb_define_module_method( globalDrawableModule, "included", Drawable_Included, 1 );
// Instance methods // Instance methods
rb_define_method( globalDrawableModule, "initialize", Drawable_Initialize, -1 ); rb_define_method( globalDrawableModule, "initialize", Drawable_Initialize, -1 );