comparison pytouhou/game/enemy.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 a0fa01cd9f70
children a6af3ff86612
comparison
equal deleted inserted replaced
605:d6ead6f0ba80 606:3c2f96f1d715
46 cpdef set_aux_anm(self, long number, long index) 46 cpdef set_aux_anm(self, long number, long index)
47 cpdef set_pos(self, double x, double y, double z) 47 cpdef set_pos(self, double x, double y, double z)
48 cpdef move_to(self, unsigned long duration, double x, double y, double z, formula) 48 cpdef move_to(self, unsigned long duration, double x, double y, double z, formula)
49 cpdef stop_in(self, unsigned long duration, formula) 49 cpdef stop_in(self, unsigned long duration, formula)
50 cpdef set_boss(self, bint enable) 50 cpdef set_boss(self, bint enable)
51 cdef bint is_visible(self, long screen_width, long screen_height) except? False 51 cdef bint is_visible(self, long screen_width, long screen_height) except -1
52 cdef void check_collisions(self) except * 52 cdef void check_collisions(self) except *
53 cdef void handle_callbacks(self) except * 53 cdef void handle_callbacks(self) except *
54 cdef void update(self) except * 54 cdef void update(self) except *