diff pytouhou/ui/gamerunner.pyx @ 578:00f228b57840

Make Runner.update callable from Python code.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Mon, 04 Aug 2014 18:18:55 +0200
parents 56bca8ce4b68
children 19d930f9e3f0
line wrap: on
line diff
--- a/pytouhou/ui/gamerunner.pyx
+++ b/pytouhou/ui/gamerunner.pyx
@@ -108,7 +108,7 @@ cdef class GameRunner(Runner):
             self.renderer.start(self.common)
 
 
-    cdef bint update(self) except *:
+    cpdef bint update(self) except? False:
         cdef long keystate
 
         if self.background is not None: