comparison pytouhou/game/item.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 78e1c3864e73
children 8038f1957b71
comparison
equal deleted inserted replaced
467:5bb7d2c0ff46 468:feecdb4a8928
5 5
6 6
7 cdef class Indicator(Element): 7 cdef class Indicator(Element):
8 cdef Item _item 8 cdef Item _item
9 9
10 cpdef update(self) 10 cdef void update(self) nogil
11 11
12 12
13 cdef class Item(Element): 13 cdef class Item(Element):
14 cdef public object _item_type 14 cdef public object _item_type
15 15
19 cdef Game _game 19 cdef Game _game
20 cdef Player player 20 cdef Player player
21 cdef Indicator indicator 21 cdef Indicator indicator
22 cdef Interpolator speed_interpolator, pos_interpolator 22 cdef Interpolator speed_interpolator, pos_interpolator
23 23
24 cpdef autocollect(self, Player player) 24 cdef void autocollect(self, Player player) except *
25 cpdef on_collect(self, Player player) 25 cdef void on_collect(self, Player player) except *
26 cpdef update(self) 26 cpdef update(self)