Mercurial > touhou
comparison pytouhou/ui/renderer.pxd @ 468:feecdb4a8928
Add “except *” to cdef void functions, and type some more.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Thu, 12 Sep 2013 15:47:08 +0200 |
parents | 36bc577b2392 |
children | c622eaf64428 |
comparison
equal
deleted
inserted
replaced
467:5bb7d2c0ff46 | 468:feecdb4a8928 |
---|---|
22 | 22 |
23 cdef unsigned short *indices[2][MAX_TEXTURES] | 23 cdef unsigned short *indices[2][MAX_TEXTURES] |
24 cdef unsigned short last_indices[2 * MAX_TEXTURES] | 24 cdef unsigned short last_indices[2 * MAX_TEXTURES] |
25 cdef PyObject *elements[640*3] | 25 cdef PyObject *elements[640*3] |
26 | 26 |
27 cpdef render_elements(self, elements) | 27 cdef void render_elements(self, elements) except * |
28 cpdef render_quads(self, rects, colors, texture) | 28 cdef void render_quads(self, rects, colors, texture) except * |
29 cpdef render_framebuffer(self, Framebuffer fb, Window window) | 29 cdef void render_framebuffer(self, Framebuffer fb, Window window) except * |
30 | 30 |
31 | 31 |
32 cdef class Framebuffer: | 32 cdef class Framebuffer: |
33 cdef GLuint fbo, texture, rbo | 33 cdef GLuint fbo, texture, rbo |
34 cdef int x, y, width, height | 34 cdef int x, y, width, height |