Done with enums and most typedefs

Next step: finish last typedefs and create some way to emulate
GLEW_GET_FUN and the var variant.