robotpy/cxxheaderparser

Parsing error "evaluating '*': unexpected '*', expected ',' or ';'"

trelau opened this issue · 1 comments

A few snippets from source header files below that cause the error:

typedef void (GL_APIENTRY* PFNGLREADBUFFERPROC) (GLenum src);

and

typedef const char* (WINAPI *wglGetExtensionsStringARB_t)(HDC theDeviceContext);

This is a variation of #5.

Once #5 is addressed, you will need a preprocessor to translate WINAPI to __stdcall, etc.