Added GLAPIENTRY decorations for all first level OpenGL API function entry
points so that the calling conventions will work correctly with the assembler
stubs with the Open Watcom compiler.
diff --git a/src/mesa/glapi/gltable.py b/src/mesa/glapi/gltable.py
index 54dacb1..0cfa5ef 100644
--- a/src/mesa/glapi/gltable.py
+++ b/src/mesa/glapi/gltable.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-# $Id: gltable.py,v 1.3 2001/11/18 22:42:57 brianp Exp $
+# $Id: gltable.py,v 1.4 2003/10/21 22:22:18 kendallb Exp $
# Mesa 3-D graphics library
# Version: 4.1
@@ -77,7 +77,7 @@
pass
prevk = int(k)
(name, returnType, argList) = records[k]
- print ' %s (*%s)(%s); /* %d */' % (returnType, name, argList, k)
+ print ' %s (GLAPIENTRYP %s)(%s); /* %d */' % (returnType, name, argList, k)
#endef