git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1017 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
ebdee32601
commit
4a3d6b171c
12 changed files with 20 additions and 11 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue