On Thu, Aug 16, 2018 at 07:29:40AM +0200, Thomas Helland wrote:
> 2018-08-15 23:56 GMT+02:00 Caio Marcelo de Oliveira Filho
> <caio.olive...@intel.com>:
> > ---
> >  src/util/u_dynarray.h | 9 +++++++++
> >  1 file changed, 9 insertions(+)
> >
> > diff --git a/src/util/u_dynarray.h b/src/util/u_dynarray.h
> > index dcbbc06d161..4920fe04b67 100644
> > --- a/src/util/u_dynarray.h
> > +++ b/src/util/u_dynarray.h
> > @@ -102,6 +102,15 @@ util_dynarray_resize(struct util_dynarray *buf, 
> > unsigned newsize)
> >     return p;
> >  }
> >
> > +static inline void
> > +util_dynarray_clone(struct util_dynarray *buf, struct util_dynarray 
> > *mem_ctx,
> 
> I think we should keep the mem_ctx a void *.
> Apart from that this patch is:
> 
> Reviewed-by: Thomas Helland <thomashellan...@gmail.com>

Yeah, the intention was to keep it 'void *' :-)

Thanks!
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to