I've been wrapping a gl file for scheme
and it failed twice in the gl.h
header. I'm on OSx so it might be platform dependent, but I never seen this syntax anywhere else in my life.
typedef void (* glMultiDrawElementsProcPtr) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount);
Notice the const GLvoid* const *indices
. The scheme C interpreter has a small C subset and doesn't understand this part of the header.
What does it mean and how can I safely replace it by something else... I changed it to
const GLvoid** indices