Jörg Höhle wrote:
o a single #define SDL_EVENTMASK(X) (1<<(X)) used by enum SDL_EventMasks, referring to enum SDL_Events
In SDL 1.2.9 from http://www.libsdl.org/release/SDL-1.2.9-win32.zip in SDL_events.h, where the SDL_EVENTMASK macro is used, the enum is an anonymous enum.
Luís Oliveira wrote:
I'm curious, can SWIG or Verrazano actually handle the enum that's defining those masks?
the Tcl mapping of SWIG calculates the numeric values and looks like it creates the Tcl equivalent of "defconstant". The current CFFI SWIG module outputs the C macro source code, but should be possible, too, with the right template files.