git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1017 4e206d99-4929-0410-ac5d-dfc041789085

This commit is contained in:
remi-k 2009-02-14 19:43:12 +00:00
parent ebdee32601
commit 4a3d6b171c
12 changed files with 20 additions and 11 deletions

View file

@ -425,13 +425,13 @@ PySfFloatRectUpdateSelf(PySfFloatRect *self)
PySfIntRect *
GetNewPySfIntRect()
{
return PyObject_New(PySfIntRect, &PySfIntRectType);
return (PySfIntRect *)PySfIntRect_new(&PySfIntRectType, NULL, NULL);
}
PySfFloatRect *
GetNewPySfFloatRect()
{
return PyObject_New(PySfFloatRect, &PySfFloatRectType);
return (PySfFloatRect *)PySfFloatRect_new(&PySfFloatRectType, NULL, NULL);
}