comparison pytouhou/ui/shader.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 1b56d62250ab
children
comparison
equal deleted inserted replaced
467:5bb7d2c0ff46 468:feecdb4a8928
4 cdef class Shader: 4 cdef class Shader:
5 cdef GLuint handle 5 cdef GLuint handle
6 cdef bint linked 6 cdef bint linked
7 cdef dict location_cache 7 cdef dict location_cache
8 8
9 cdef void create_shader(self, const GLchar *string, GLenum shader_type) 9 cdef void create_shader(self, const GLchar *string, GLenum shader_type) except *
10 cdef void link(self) 10 cdef void link(self) except *
11 cdef GLint get_uniform_location(self, name) 11 cdef GLint get_uniform_location(self, name) except -1
12 cdef void bind(self) nogil 12 cdef void bind(self) nogil
13 cdef void uniform_1(self, name, GLfloat val) 13 cdef void uniform_1(self, name, GLfloat val) except *
14 cdef void uniform_4(self, name, GLfloat a, GLfloat b, GLfloat c, GLfloat d) 14 cdef void uniform_4(self, name, GLfloat a, GLfloat b, GLfloat c, GLfloat d) except *
15 cdef void uniform_matrix(self, name, Matrix mat) 15 cdef void uniform_matrix(self, name, Matrix mat) except *