Bug fix (make shure a font object isn't destroyed as long as the string

is using it) and code clean up in sf.String


git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1043 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
remi-k 2009-03-08 09:56:25 +00:00
parent 06b5299c2b
commit 26fd1b89e4
2 changed files with 25 additions and 5 deletions

View file

@ -29,9 +29,12 @@
#include <SFML/Graphics/String.hpp>
#include "Font.hpp"
typedef struct {
PyObject_HEAD
sf::String *obj;
PySfFont *font;
} PySfString;
void PySfString_InitConst();