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
python/src

View file

@ -414,6 +414,6 @@ PySfImage_Copy(PySfImage* self, PyObject *args)
PySfImage *
GetNewPySfImage()
{
return PyObject_New(PySfImage, &PySfImageType);
return (PySfImage *)PySfImage_new(&PySfImageType, NULL, NULL);
}