diff pytouhou/ui/texture.pxd @ 511:2e8ceaa85d5c

Don’t type the renderer in GameRunner, so that we can switch it without type issues.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 28 Nov 2013 18:55:43 +0100
parents bfea9e9a6845
children
line wrap: on
line diff
--- a/pytouhou/ui/texture.pxd
+++ b/pytouhou/ui/texture.pxd
@@ -3,10 +3,10 @@ from pytouhou.lib.sdl cimport Font
 cdef class TextureManager:
     cdef object loader, renderer, texture_class
 
-    cdef load(self, dict anms)
+    cdef void load(self, dict anms) except *
 
 cdef class FontManager:
     cdef Font font
     cdef object renderer, texture_class
 
-    cdef load(self, list labels)
+    cdef void load(self, list labels) except *