comparison 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
comparison
equal deleted inserted replaced
616:4ce3ef053a25 617:a6af3ff86612
19 cdef Matrix *mvp 19 cdef Matrix *mvp
20 cdef PassthroughVertex[4] buf 20 cdef PassthroughVertex[4] buf
21 21
22 cpdef bind(self) 22 cpdef bind(self)
23 cdef void set_state(self) nogil 23 cdef void set_state(self) nogil
24 cdef void render(self, int x, int y, int width, int height) except * 24 cdef bint render(self, int x, int y, int width, int height) except True