view pytouhou/ui/sdl/texture.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 b895ed2de71f
children a6af3ff86612
line wrap: on
line source

from pytouhou.lib.sdl cimport Font
from pytouhou.lib.sdl cimport Surface, Window

cdef class TextureManager:
    cdef object loader
    cdef Window window

    cdef void load(self, dict anms) except *
    cdef load_texture(self, Surface texture)

cdef class FontManager:
    cdef Font font
    cdef Window window

    cdef void load(self, dict labels) except *