[MPlayer-dev-eng] [PATCH] Change lots of defines to one big enum.

Bryan Henderson giraffedata at gmail.com
Thu Jun 19 17:58:10 CEST 2008


On 6/18/08, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Wed, Jun 18, 2008 at 09:56:56AM +0200, Benjamin Zores wrote:
>> On Wed, Jun 18, 2008 at 2:35 AM, Michael Niedermayer <michaelni at gmx.at>
>> wrote:
>> > On Tue, Jun 17, 2008 at 11:03:07PM +0200, Benjamin Zores wrote:
>>
>> > Iam fine with any name as long as it doesnt end in _t because that is
>> > reserved by POSIX, not that a mp_*_t is likely going to ever clash in
>> > pratice but still.
>>
>> For my culture, isn't _t purpose actually to declare that something it
>> a new type of variable (typedef, struct ...) ?
>
> Tell that to the people who designed posix ...
> btw:
> http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_02.html
> contains the list of what posix claims for itself ...

The list of what POSIX reserves for itself, in that reference, does
not include _t.  All it says about _t is that any type declared in a
system header file (of a POSIX-compliant system) must end in _t.  That
doesn't imply an Mplayer header file can't also have a type that ends
in _t.



More information about the MPlayer-dev-eng mailing list