[MPlayer-G2-dev] Re: cfg.h (config layer 0 discussion)

Arpi arpi at thot.banki.hu
Mon May 19 12:27:58 CEST 2003


Hi,

> Sometime (on Monday, May 19 at 12:16) I've received something...
> 
> >#ifndef __CFG_H
> >#define __CFG_H 1
> 
> 
> >/* type (menu field)	->p		->min	->max	->priv */
> >typedef enum {
> >// flag (checkbox)	int*		reset	set	-
> >  CONF_TYPE_FLAG=1,
> 
>     Why it's 1 there? Did we reserved 0 for something? If we'll implement

to spot out badly written modules which set it (or unset) to 0 :)

> some parser's array as struct and config_type_t is pointer there (str[i])
> then str[0] will be just lost. So I've put 0 there by purpose. :)

and i've changed it to 1 by purpose ;)


A'rpi / Astral & ESP-team

--
Developer of MPlayer G2, the Movie Framework for all - http://www.MPlayerHQ.hu



More information about the MPlayer-G2-dev mailing list