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:
parent
a8a1c98a41
commit
5c848f3617
@ -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 );
|
||||||
|
Loading…
Reference in New Issue
Block a user