Mercurial > touhou
diff pytouhou/ui/opengl/framebuffer.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 | 1b31169dc344 |
children |
line wrap: on
line diff
--- a/pytouhou/ui/opengl/framebuffer.pxd +++ b/pytouhou/ui/opengl/framebuffer.pxd @@ -21,4 +21,4 @@ cdef class Framebuffer: cpdef bind(self) cdef void set_state(self) nogil - cdef void render(self, int x, int y, int width, int height) except * + cdef bint render(self, int x, int y, int width, int height) except True