On Sat, May 31, 2014 at 03:22:01AM +0100, Emil Velikov wrote:
> We should have never defined the restrict keyword in
> the waffle.h header. The word is used as a hint to the
> compiler to provide optimisations re: pointer aliasing.
> 
> Keep the symbol around, so that the compiler can still
> optimise the library.
> 
> v2: Move the symbol definition to its user and update the
> man pages.
> 
> Resolves #11: https://github.com/waffle-gl/waffle/issues/11
> 
> Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com>
> ---
>  include/waffle/waffle.h                 | 8 ++------
>  man/waffle_is_extension_in_string.3.xml | 4 ++--
>  src/waffle/api/waffle_gl_misc.c         | 4 ++++
>  3 files changed, 8 insertions(+), 8 deletions(-)

Reviewed-by: Chad Versace <chad.vers...@linux.intel.com>

_______________________________________________
waffle mailing list
waffle@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/waffle

Reply via email to