-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Deffer call #11
Comments
An alternative solution would be to be able to extend an enum type. This would allow you to make the initial definitions in one I use a similar solution in my own library: https://github.com/jjatria/perl-sdl2-raw/blob/master/lib/SDL2/Raw.pm#L1022, although in that case I'm defining the enums myself in part because of this limitation. |
Issues: - Cannot cast value back to name (for return values from C, etc.)
Notice: this is for 0.03 version
I thought I already ask this, but probably not.
In case of
SDL
there situation when values are circular definition. And we need defferSDL_PIXELFORMAT_RGBA8888
https://github.com/KES777/sdl/blob/master/lib/SDL2/Pixels.pm#L501
The text was updated successfully, but these errors were encountered: