comparison pytouhou/game/sprite.pyx @ 628:df3c4ef5f2cc

Partially revert 98603f2c32b4, as the creation of a .h file made some checking tools unhappy.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 19 Apr 2015 19:08:39 +0200
parents 98603f2c32b4
children
comparison
equal deleted inserted replaced
627:ec972eb44391 628:df3c4ef5f2cc
14 14
15 from libc.stdlib cimport free 15 from libc.stdlib cimport free
16 from libc.string cimport memcpy 16 from libc.string cimport memcpy
17 17
18 18
19 cdef public class Sprite[object Sprite, type SpriteType]: 19 cdef class Sprite:
20 def __dealloc__(self): 20 def __dealloc__(self):
21 if self._rendering_data != NULL: 21 if self._rendering_data != NULL:
22 free(self._rendering_data) 22 free(self._rendering_data)
23 23
24 24