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);


      
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to