diff 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
line wrap: on
line diff
--- a/pytouhou/ui/renderer.pxd
+++ b/pytouhou/ui/renderer.pxd
@@ -24,9 +24,9 @@ cdef class Renderer:
     cdef unsigned short last_indices[2 * MAX_TEXTURES]
     cdef PyObject *elements[640*3]
 
-    cpdef render_elements(self, elements)
-    cpdef render_quads(self, rects, colors, texture)
-    cpdef render_framebuffer(self, Framebuffer fb, Window window)
+    cdef void render_elements(self, elements) except *
+    cdef void render_quads(self, rects, colors, texture) except *
+    cdef void render_framebuffer(self, Framebuffer fb, Window window) except *
 
 
 cdef class Framebuffer: