[MPlayer-dev-eng] [PATCH] de-templatize TV new_handle function
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Mon Sep 13 18:36:11 CEST 2010
On Mon, Sep 13, 2010 at 04:58:36PM +0200, Diego Biurrun wrote:
> On Sun, Sep 12, 2010 at 04:06:04PM +0200, Reimar Döffinger wrote:
> > On Sun, Sep 12, 2010 at 01:52:03PM +0200, Diego Biurrun wrote:
> > > +tvi_handle_t *tv_new_handle(const size_t size,
> >
> > What's that const supposed to be good for?
>
> The function parameter is not changed so I figured it would not hurt..
It also doesn't have any advantage, and it does hurt in so far that
it makes changing the function more annoying (e.g. if you wanted to enforce
a minimum "size" you'd either have to add another variable or remove that
const).
More information about the MPlayer-dev-eng
mailing list