[SDL] SDL 2.0 API stabilization
Sik the hedgehog
sik.the.hedgehog at gmail.com
Thu Mar 7 02:15:37 PST 2013
The problem would be that then you'd have to rename about every
function in order to achieve that, and I don't think many people would
be happy with that :/ (and besides, even though the SDL2 API still
isn't 100% fixed, I don't think that doing a near complete rewrite of
existent SDL2 programs is going to be a good idea).
I'm not sure many people look up for a function in an alphabetical
list, though. Functions are already separated by category (both in the
wiki and in doxygen), in practice that seems to be way more useful
(and in fact it's pretty much the only way I look up for SDL
functions). If you already know the name beforehand an alphabetical
list is better, but at that point you don't care about whether it's
organized by categories or not.
2013/3/7, Vittorio Giovara <vittorio.giovara at gmail.com>:
> So, for a brief moment there was a half idea of moving the sdl api from
> SDL_VERB_NOUN to SDL_NOUN_VERB
> so that for example SDL_TryLockMutex() would become SDL_MutexTryLock()
> This idea was thought on the basis that it would make the alphabetical
> listing more logical and would simplify grouping similar APIs.
> Is this idea still lingering around (and it's just a matter of volunteers
> submitting patches) or has it been discarded completely?
> On Mon, Feb 18, 2013 at 8:19 AM, Sam Lantinga <slouken at libsdl.org> wrote:
>> We're on the road to release for SDL 2.0.
>> To that end, most of the existing APIs are stable, and we'll only change
>> them if it's critical.
>> There are a few things which are still being considered, such as the iOS
>> event handling, and touch/mouse event semantics, but by and large the API
>> is set for release.
>> Please report bugs which are affecting you in the current snapshot:
>> If anyone wants to fix anything currently in bugzilla, they are more than
>> SDL mailing list
>> SDL at lists.libsdl.org
More information about the SDL