Currently the macros for the gl funtions are in the form:
so that the when glSomeFunction has arguments you write:
glSomeFunction(myArg1);
which expands to:
GLEW_GET_FUN(__glewSomeFunction)(myArg1);
One downside of this approach is that for IDEs which support intellisense/auto-complete, the macros lack any knowledge of the number and type of arguments.
I suggest changing the macros to the following form:
or a more specific case:
This would allow capable IDEs to show the full function signature.
Why not use a class? So we write like: gl.someFunction(args);
That'd be VERY cool. I saw this once on a video of some guy using XCODE...
See: https://github.com/nigels-com/glew/pull/8