Mercurial > touhou
comparison pytouhou/ui/sdl/texture.pxd @ 617:a6af3ff86612
Change all “void except *” function into “bint except True”, to prevent PyErr_Occurred() from being called at each call.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sun, 29 Mar 2015 00:08:20 +0100 |
parents | b895ed2de71f |
children |
comparison
equal
deleted
inserted
replaced
616:4ce3ef053a25 | 617:a6af3ff86612 |
---|---|
3 | 3 |
4 cdef class TextureManager: | 4 cdef class TextureManager: |
5 cdef object loader | 5 cdef object loader |
6 cdef Window window | 6 cdef Window window |
7 | 7 |
8 cdef void load(self, dict anms) except * | 8 cdef bint load(self, dict anms) except True |
9 cdef load_texture(self, Surface texture) | 9 cdef load_texture(self, Surface texture) |
10 | 10 |
11 cdef class FontManager: | 11 cdef class FontManager: |
12 cdef Font font | 12 cdef Font font |
13 cdef Window window | 13 cdef Window window |
14 | 14 |
15 cdef void load(self, dict labels) except * | 15 cdef bint load(self, dict labels) except True |