[vlc-devel] [PATCH v6] vlc_vector: add helpers for vectors

Romain Vimont rom1v at videolabs.io
Fri Oct 5 21:42:31 CEST 2018


On Fri, Oct 05, 2018 at 09:32:38PM +0200, Romain Vimont wrote:
> Thank you for your review.
> 
> On Fri, Oct 05, 2018 at 08:20:09PM +0300, Rémi Denis-Courmont wrote:
> > Le perjantaina 5. lokakuuta 2018, 18.29.05 EEST Romain Vimont a écrit :
> > > +static inline void *
> > > +vlc_vector_reallocdata_(void *ptr, size_t count, size_t size,
> > > +                        size_t *pcap, size_t *psize)
> > 
> > Could use some restrict.
> 
> OK, I will add 3 restricts (I'm not used to add "restrict" in my code).

s/3/2/ (only on the pointers to size_t).


More information about the vlc-devel mailing list