in reply to XS prototype (or not) problem?

what does prototype say about the function?
use OpenGL; print prototype("OpenGL::glColor3f"), "\n";
When the module is compiled, a OpenGL.c file is generated, can you post the code for the function wrapper?

Also, how is the function registered in the interpreter? Look for a cv = newXS("OpenGL::glColor3f", ...) statement probably followed by sv_setpv((SV*)cv, "$$$") to set the prototype