Re: Request comments on new types of constants

2013-08-12 Thread Mason James

On 2013-08-12, at 10:17 AM, Kartik Thakore wrote:

> Hey Guys,
> 
> What do you think of doing this for constants:
> 
> XS plug
> https://github.com/PerlGameDev/SDL2/blob/experimental/src/Core/Constants.xs#L17
> 
> Mapped directly to
> 
> https://github.com/PerlGameDev/SDL2/blob/experimental/lib/SDL2/Constants.pm#L96
> 
> This way we don't have to update their values if libSDL2 changes them.
> 
> Regards,
> Kartik

sounds good +1

Request comments on new types of constants

2013-08-11 Thread Kartik Thakore
Hey Guys,

What do you think of doing this for constants:

XS plug
https://github.com/PerlGameDev/SDL2/blob/experimental/src/Core/Constants.xs#L17

Mapped directly to

https://github.com/PerlGameDev/SDL2/blob/experimental/lib/SDL2/Constants.pm#L96

This way we don't have to update their values if libSDL2 changes them.

Regards,
Kartik