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:
parent
06b5299c2b
commit
26fd1b89e4
2 changed files with 25 additions and 5 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue