Am 13.03.2010 16:32, Tristin Celestin wrote: > I have a OpenGL function with this declaration: > > GLAPI void APIENTRY glGetActiveAttrib (GLuint program, GLuint index, > GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar > *name); > > The parameters length, size, type, and name are all outputs of the function. > My question is how to deal with the name parameter. A GLchar* is just a char*. > > Is this the correct way to bind the above function? > > public static void glGetActiveAttrib (GLuint program, GLuint index, GLsizei > bufSize, out GLsizei length, out GLint size, out GLenum type, out string > name);
Just 'string', not 'out string', otherwise it woule be 'GLchar **'. Best regards, Frederik _______________________________________________ Vala-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/vala-list
