Mercurial > touhou
comparison pytouhou/game/bullet.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 | 887de1309491 |
children | a6af3ff86612 |
comparison
equal
deleted
inserted
replaced
605:d6ead6f0ba80 | 606:3c2f96f1d715 |
---|---|
20 cdef double hitbox[2] | 20 cdef double hitbox[2] |
21 cdef Interpolator speed_interpolator | 21 cdef Interpolator speed_interpolator |
22 cdef Game _game | 22 cdef Game _game |
23 cdef long player | 23 cdef long player |
24 | 24 |
25 cdef bint is_visible(self, unsigned int screen_width, unsigned int screen_height) except? False | 25 cdef bint is_visible(self, unsigned int screen_width, unsigned int screen_height) nogil |
26 cpdef set_anim(self, sprite_idx_offset=*) | 26 cpdef set_anim(self, sprite_idx_offset=*) |
27 cdef void launch(self) except * | 27 cdef void launch(self) except * |
28 cdef void collide(self) except * | 28 cdef void collide(self) except * |
29 cdef void cancel(self) except * | 29 cdef void cancel(self) except * |
30 cdef void update(self) except * | 30 cdef void update(self) except * |