Hello,
The type of the second parameter of gl function glGetDoublev is GLdouble*. So, I'd like to be able to pass an f64vector as that argument.
The declaration of glGetDoublev is:
void glGetDoublev( GLenum pname, GLdouble *params )
So something along these lines I guess:
(define glGetDoublev (c-lambda (GLenum scheme-object) void " glGetDoublev ( ___arg1 , UNPACKTHEVEC( ___arg2 ) ) ; "))
Except with the proper unpacking of ___arg2. Any suggestions as to what macro to use there? I'm looking through gambit.h...
Ed