[SDL] SDL 2.0 ABI locked

Alexey Petruchik i100500 at gmail.com
Sun Mar 17 09:56:20 PDT 2013


> you'll see the SDL types are defined in terms of them.
That's why I think they are useless and can be painlessly removed :)
And it would be great if SDL will encourage everyone to use stdint.h
types.

On Sun, Mar 17, 2013 at 7:25 PM, Sam Lantinga <slouken at libsdl.org> wrote:
> Mostly because they're everywhere in SDL code.  You're welcome to use the
> stdint types in your own code, and if you look in SDL_stdinc.h you'll see
> the SDL types are defined in terms of them.
>
>
> On Sun, Mar 17, 2013 at 9:19 AM, Alexey Petruchik <i100500 at gmail.com> wrote:
>>
>> As conversation moved here I'll ask once again here. Why not to
>> replace SDL integer types (Uint8, ...) with <stdint.h> integer types?
>> This change will not break any binary compatibility because SDL
>> integer types are just typedefs for <stdint.h> integer types.
>>
>> On Sat, Mar 16, 2013 at 5:28 AM, Jared Maddox <absinthdraco at gmail.com>
>> wrote:
>> >> Date: Fri, 15 Mar 2013 12:45:54 -0700
>> >> From: "neoaggelos" <neoaggelos at yahoo.gr>
>> >> To: sdl at lists.libsdl.org
>> >> Subject: Re: [SDL] SDL 2.0 ABI locked
>> >> Message-ID: <1363376754.m2f.36087 at forums.libsdl.org>
>> >> Content-Type: text/plain; charset="iso-8859-1"
>> >>
>> >
>> >> Sik wrote:
>> >>> Doesn't that go against the ABI being locked though?
>> >>>
>> >>> 2013/3/15, neoaggelos <neoaggelos at yahoo.gr>:
>> >>>
>> >>> > Since SDL2 is not released yet, is it possible to change
>> >>> > SDL_GL_BindTexture
>> >>> > so that the created texture's coordinates range from 0 to 1 linearly
>> >>> > ?
>> >>> >
>> >>> > Just an idea....
>> >>> >
>> >
>> >> Well, I know, but for someone that uses many textures in his programs
>> >> and
>> >> relies upon this
>> >> will most probably not be that happy.
>> >>
>> >> Having a standard value will make it easier
>> >>
>> >
>> > None the less, the ABI is locked, AND this isn't something that SDL
>> > controls, so no. However, it should be somewhat simple to create an
>> > abstraction layer that does this for you. Don't go looking in SDL for
>> > it, but certainly the community would be perfectly happy if someone
>> > were to make a library that does this, and interfaces with SDL in the
>> > appropriate places.
>> > _______________________________________________
>> > SDL mailing list
>> > SDL at lists.libsdl.org
>> > http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>> _______________________________________________
>> SDL mailing list
>> SDL at lists.libsdl.org
>> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
>
>
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>



More information about the SDL mailing list