Mercurial > touhou
diff pytouhou/ui/window.pxd @ 606:3c2f96f1d715
Fix compilation under Cython 0.22, by making the pyx and the pxd declarations’ except clause similar.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Wed, 26 Nov 2014 13:36:38 +0100 |
parents | ab131d04987d |
children | a6af3ff86612 |
line wrap: on
line diff
--- a/pytouhou/ui/window.pxd +++ b/pytouhou/ui/window.pxd @@ -15,7 +15,7 @@ cdef class Runner: cdef void start(self) except * cdef void finish(self) except * - cpdef bint update(self, bint render) except? False + cpdef bint update(self, bint render) except -1 cdef class Window: @@ -28,5 +28,5 @@ cdef class Window: cdef void set_size(self, int width, int height) nogil cpdef set_runner(self, Runner runner=*) cpdef run(self) - cdef bint run_frame(self) except? False + cdef bint run_frame(self) except -1 cdef double get_fps(self) nogil