Re: Re: cfg.h (config layer 0 discussion)

Arpi <[email protected]>
Newsgroups gmane.comp.video.mplayer.g2.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.