comparison pytouhou/game/player.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 5f5955635d2c
children 887de1309491
comparison
equal deleted inserted replaced
467:5bb7d2c0ff46 468:feecdb4a8928
18 18
19 cdef object anm 19 cdef object anm
20 cdef tuple speeds 20 cdef tuple speeds
21 cdef long fire_time, bomb_time, direction 21 cdef long fire_time, bomb_time, direction
22 22
23 cdef void set_anim(self, index) 23 cdef void set_anim(self, index) except *
24 cpdef play_sound(self, str name) 24 cdef void play_sound(self, str name) except *
25 cpdef collide(self) 25 cdef void collide(self) except *
26 cdef void fire(self) 26 cdef void fire(self) except *
27 cpdef update(self, long keystate) 27 cpdef update(self, long keystate)