[MPlayer-dev-eng] [RFC] split cfg-common.h

Diego Biurrun diego at biurrun.de
Wed Mar 5 01:05:23 CET 2008


On Wed, Mar 05, 2008 at 01:01:35AM +0100, Diego Biurrun wrote:
> Currently cfg-common.h is split into two parts by the MAIN_CONF
> preprocessor condition.  This allows cfg-mplayer.h and cfg-mencoder.h,
> to #include it twice, once with MAIN_CONF #defined and once without.
> 
> The very same effect can be achieved by simply splitting cfg-common.h
> into two parts.  IMO this deobfuscates cfg-common.h quite a bit.  Here
> is a patch to achieve this.
> 
> cfg-common_main.h is a terribly good filename.  I'd be glad to hear
> better suggestions.

/* no comment */

Diego
-------------- next part --------------
A non-text attachment was scrubbed...
Name: split_cfg-common.h.diff
Type: text/x-diff
Size: 38590 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080305/be4fb8a0/attachment.diff>


More information about the MPlayer-dev-eng mailing list