Try using nimterop which renders C enums as distinct cint.

Also check out @jyapayne's work on wrapping SDL2 with nimterop - 
[https://github.com/jyapayne/nim-sdl2](https://github.com/jyapayne/nim-sdl2). 

Reply via email to