view pytouhou/ui/sdl/texture.pxd @ 616:4ce3ef053a25

Remove every case where an exception could be silently eaten by a cdef function.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 28 Mar 2015 23:21:15 +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 *