1 /* DO NOT EDIT - This file generated automatically by glX_proto_size.py (from Mesa) script */
4 * (C) Copyright IBM Corporation 2004
7 * Permission is hereby granted, free of charge, to any person obtaining a
8 * copy of this software and associated documentation files (the "Software"),
9 * to deal in the Software without restriction, including without limitation
10 * the rights to use, copy, modify, merge, publish, distribute, sub license,
11 * and/or sell copies of the Software, and to permit persons to whom the
12 * Software is furnished to do so, subject to the following conditions:
14 * The above copyright notice and this permission notice (including the next
15 * paragraph) shall be included in all copies or substantial portions of the
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
22 * AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
23 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
24 * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
28 #if !defined( _INDIRECT_SIZE_H_ )
29 # define _INDIRECT_SIZE_H_
33 * Prototypes for functions used to determine the number of data elements in
34 * various GLX protocol messages.
36 * \author Ian Romanick <idr@us.ibm.com>
39 # if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))
40 # define PURE __attribute__((pure))
45 # if defined(__i386__) && defined(__GNUC__) && !defined(__CYGWIN__) && !defined(__MINGW32__)
46 # define FASTCALL __attribute__((fastcall))
51 # if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))) && defined(__ELF__)
52 # define INTERNAL __attribute__((visibility("internal")))
57 extern INTERNAL PURE FASTCALL GLint __glCallLists_size(GLenum);
58 extern INTERNAL PURE FASTCALL GLint __glFogfv_size(GLenum);
59 extern INTERNAL PURE FASTCALL GLint __glFogiv_size(GLenum);
60 extern INTERNAL PURE FASTCALL GLint __glLightfv_size(GLenum);
61 extern INTERNAL PURE FASTCALL GLint __glLightiv_size(GLenum);
62 extern INTERNAL PURE FASTCALL GLint __glLightModelfv_size(GLenum);
63 extern INTERNAL PURE FASTCALL GLint __glLightModeliv_size(GLenum);
64 extern INTERNAL PURE FASTCALL GLint __glMaterialfv_size(GLenum);
65 extern INTERNAL PURE FASTCALL GLint __glMaterialiv_size(GLenum);
66 extern INTERNAL PURE FASTCALL GLint __glTexParameterfv_size(GLenum);
67 extern INTERNAL PURE FASTCALL GLint __glTexParameteriv_size(GLenum);
68 extern INTERNAL PURE FASTCALL GLint __glTexEnvfv_size(GLenum);
69 extern INTERNAL PURE FASTCALL GLint __glTexEnviv_size(GLenum);
70 extern INTERNAL PURE FASTCALL GLint __glTexGendv_size(GLenum);
71 extern INTERNAL PURE FASTCALL GLint __glTexGenfv_size(GLenum);
72 extern INTERNAL PURE FASTCALL GLint __glTexGeniv_size(GLenum);
73 extern INTERNAL PURE FASTCALL GLint __glMap1d_size(GLenum);
74 extern INTERNAL PURE FASTCALL GLint __glMap1f_size(GLenum);
75 extern INTERNAL PURE FASTCALL GLint __glMap2d_size(GLenum);
76 extern INTERNAL PURE FASTCALL GLint __glMap2f_size(GLenum);
77 extern INTERNAL PURE FASTCALL GLint __glColorTableParameterfv_size(GLenum);
78 extern INTERNAL PURE FASTCALL GLint __glColorTableParameteriv_size(GLenum);
79 extern INTERNAL PURE FASTCALL GLint __glConvolutionParameterfv_size(GLenum);
80 extern INTERNAL PURE FASTCALL GLint __glConvolutionParameteriv_size(GLenum);
81 extern INTERNAL PURE FASTCALL GLint __glPointParameterfvEXT_size(GLenum);
82 extern INTERNAL PURE FASTCALL GLint __glPointParameterivNV_size(GLenum);
88 #endif /* !defined( _INDIRECT_SIZE_H_ ) */