Mercurial > touhou
comparison pytouhou/ui/opengl/gamerenderer.pxd @ 617:a6af3ff86612
Change all “void except *” function into “bint except True”, to prevent PyErr_Occurred() from being called at each call.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sun, 29 Mar 2015 00:08:20 +0100 |
parents | 1b31169dc344 |
children |
comparison
equal
deleted
inserted
replaced
616:4ce3ef053a25 | 617:a6af3ff86612 |
---|---|
12 cdef Shader game_shader, background_shader, interface_shader | 12 cdef Shader game_shader, background_shader, interface_shader |
13 cdef Framebuffer framebuffer | 13 cdef Framebuffer framebuffer |
14 cdef BackgroundRenderer background_renderer | 14 cdef BackgroundRenderer background_renderer |
15 cdef object background | 15 cdef object background |
16 | 16 |
17 cdef void render_game(self, Game game) except * | 17 cdef bint render_game(self, Game game) except True |
18 cdef void render_text(self, dict texts) except * | 18 cdef bint render_text(self, dict texts) except True |
19 cdef void render_interface(self, interface, game_boss) except * | 19 cdef bint render_interface(self, interface, game_boss) except True |