[libdvdcss-devel] [PATCH 1/4] Replace DVD access method #defines by an enum.

Diego Biurrun diego at biurrun.de
Mon Nov 3 09:53:03 CET 2014


On Mon, Nov 03, 2014 at 09:50:06AM +0100, Fabian Greffrath wrote:
> Am Samstag, den 01.11.2014, 17:56 +0100 schrieb Diego Biurrun: 
> > +enum dvdcss_method {
> > +    DVDCSS_METHOD_KEY,
> > +    DVDCSS_METHOD_DISC,
> > +    DVDCSS_METHOD_TITLE,
> > +};
> [...] 
> > +    enum dvdcss_method i_method;
> 
> Why don't you use typedef enum?

I'll turn this around - why should I typedef?

Diego


More information about the libdvdcss-devel mailing list