On Thu, Mar 12, 2015 at 2:54 PM, Brian Paul <bri...@vmware.com> wrote: > --- > src/gallium/auxiliary/util/u_slab.h | 13 +++++++++++-- > 1 file changed, 11 insertions(+), 2 deletions(-) > > diff --git a/src/gallium/auxiliary/util/u_slab.h > b/src/gallium/auxiliary/util/u_slab.h > index 29d0252..8f8b29b 100644 > --- a/src/gallium/auxiliary/util/u_slab.h > +++ b/src/gallium/auxiliary/util/u_slab.h > @@ -81,7 +81,16 @@ void util_slab_destroy(struct util_slab_mempool *pool); > void util_slab_set_thread_safety(struct util_slab_mempool *pool, > enum util_slab_threading threading); > > -#define util_slab_alloc(pool) (pool)->alloc(pool) > -#define util_slab_free(pool, ptr) (pool)->free(pool, ptr) > +static INLINE void *
Maybe I'm making this up, but I was thinking there had been some work toward replacing INLINE with inline. If so, is this a candidate to use inline? _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev