Removed an unnecessary definition of the new function.

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1603 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
groogy 2010-11-03 20:02:08 +00:00
parent 8c3ec2b353
commit 0d2581a4df
2 changed files with 0 additions and 16 deletions

View file

@ -267,18 +267,10 @@ static VALUE Vector3_Initialize( VALUE self, VALUE someArgs )
return self;
}
VALUE Vector3_New( int anArgCount, VALUE * someArgs, VALUE aKlass )
{
return rb_call_super( anArgCount, someArgs );
}
void Init_Vector3( void )
{
globalVector3Class = rb_define_class_under( GetNamespace(), "Vector3", rb_cObject );
// Class methods
rb_define_singleton_method( globalVector3Class, "new", FUNCPTR( Vector3_New ), -1 );
// Instance methods
rb_define_method( globalVector3Class, "initialize", FUNCPTR( Vector3_Initialize ), -2 );
rb_define_method( globalVector3Class, "eql?", FUNCPTR( Vector3_Initialize ), 1 );