Mesa (master): glapi: Implement SET_xxx as inline functions instead of macros.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Thu May 19 09:02:15 PDT 2011


Module: Mesa
Branch: master
Commit: ec4dfc2aad16ed3d04f47657e9f2cb22e791d511
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec4dfc2aad16ed3d04f47657e9f2cb22e791d511

Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu May 19 16:49:49 2011 +0100

glapi: Implement SET_xxx as inline functions instead of macros.

In order to have the benefit of type checking, and detect missing
GLAPIENTRY keywords on public entrypoints.

---

 src/mapi/glapi/gen/gl_table.py |    5 +-
 src/mesa/main/glapidispatch.h  | 4640 ++++++++++++++++++++++++++++++++--------
 2 files changed, 3716 insertions(+), 929 deletions(-)

Diff:   http://cgit.freedesktop.org/mesa/mesa/diff/?id=ec4dfc2aad16ed3d04f47657e9f2cb22e791d511


More information about the mesa-commit mailing list