Re: [AD] Feature backports for 5.0.6 |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Sun, 12 Feb 2012 00:30:32 -0600, Matthew Leverton <meffer@xxxxxxxxxx> wrote:
> On Sun, Feb 12, 2012 at 12:23 AM, Matthew Leverton <meffer@xxxxxxxxxx> wrote:
> >> - al_add_win_window_callback, al_remove_win_window_callback
> >> not enough experience with it?
> >>
> Oh, and the iphone uses al_iphone_*, while Windows uses al_verb_win_*
>
> Personally I prefer the iphone scheme because it more clearly marks
> things as platform specific:
>
> al_windows_get_window_handle
> al_windows_add_window_callback
> al_windows_remove_window_callback
>
> There is some precedence for prefixing, as we do with al_ustr_*.
Me too. I would prefer al_win_*, similar to A4.
GL and D3D functions would ideally be treated similarly, but
it's probably too late for either.
Peter