Re: [AD] al_fputc parameters backwards

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Mon, Feb 14, 2011 at 10:26 AM, Trent Gamblin <trent@xxxxxxxxxx> wrote:
> Is there a reason that al_fputc has reversed parameters as standard fputc?
>
The real question should be why are the standard I/O functions such a mess? ;)

The file pointer comes first for all the Allegro I/O functions, as it
should be in order to fit in with the rest of the API. Note there are
other changes too, such as fread only taking a single size field.

--
Matthew Leverton




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/