For the series: Reviewed-by: Marek Olšák <marek.ol...@amd.com>
Marek On Sat, Jun 3, 2017 at 8:11 PM, Thomas Helland <thomashellan...@gmail.com> wrote: > --- > src/util/u_dynarray.h | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/src/util/u_dynarray.h b/src/util/u_dynarray.h > index ad3889a7c8..e9109ccd2d 100644 > --- a/src/util/u_dynarray.h > +++ b/src/util/u_dynarray.h > @@ -30,6 +30,10 @@ > #include <stdlib.h> > #include "ralloc.h" > > +#ifdef __cplusplus > +extern "C" { > +#endif > + > /* A zero-initialized version of this is guaranteed to represent an > * empty array. > * > @@ -134,5 +138,9 @@ util_dynarray_trim(struct util_dynarray *buf) > for (type *elem = (type *)(buf)->data; \ > elem < (type *)((char *)(buf)->data + (buf)->size); elem++) > > +#ifdef __cplusplus > +} > +#endif > + > #endif /* U_DYNARRAY_H */ > > -- > 2.13.0 > > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/mesa-dev _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev