1/* DO NOT EDIT - This file generated automatically by glX_proto_size.py (from Mesa) script */ 2 3/* 4 * (C) Copyright IBM Corporation 2004 5 * All Rights Reserved. 6 * 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: 13 * 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 16 * Software. 17 * 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 21 * IBM, 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 25 * SOFTWARE. 26 */ 27 28#if !defined( _INDIRECT_SIZE_GET_H_ ) 29# define _INDIRECT_SIZE_GET_H_ 30 31/** 32 * \file 33 * Prototypes for functions used to determine the number of data elements in 34 * various GLX protocol messages. 35 * 36 * \author Ian Romanick <idr@us.ibm.com> 37 */ 38 39# if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)) 40# define PURE __attribute__((pure)) 41# else 42# define PURE 43# endif 44 45# if defined(__i386__) && defined(__GNUC__) && !defined(__CYGWIN__) && !defined(__MINGW32__) 46# define FASTCALL __attribute__((fastcall)) 47# else 48# define FASTCALL 49# endif 50 51# if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))) && defined(__ELF__) 52# define INTERNAL __attribute__((visibility("internal"))) 53# else 54# define INTERNAL 55# endif 56 57extern INTERNAL PURE FASTCALL GLint __glGetBooleanv_size(GLenum); 58extern INTERNAL PURE FASTCALL GLint __glGetDoublev_size(GLenum); 59extern INTERNAL PURE FASTCALL GLint __glGetFloatv_size(GLenum); 60extern INTERNAL PURE FASTCALL GLint __glGetIntegerv_size(GLenum); 61extern INTERNAL PURE FASTCALL GLint __glGetLightfv_size(GLenum); 62extern INTERNAL PURE FASTCALL GLint __glGetLightiv_size(GLenum); 63extern INTERNAL PURE FASTCALL GLint __glGetMaterialfv_size(GLenum); 64extern INTERNAL PURE FASTCALL GLint __glGetMaterialiv_size(GLenum); 65extern INTERNAL PURE FASTCALL GLint __glGetTexEnvfv_size(GLenum); 66extern INTERNAL PURE FASTCALL GLint __glGetTexEnviv_size(GLenum); 67extern INTERNAL PURE FASTCALL GLint __glGetTexGendv_size(GLenum); 68extern INTERNAL PURE FASTCALL GLint __glGetTexGenfv_size(GLenum); 69extern INTERNAL PURE FASTCALL GLint __glGetTexGeniv_size(GLenum); 70extern INTERNAL PURE FASTCALL GLint __glGetTexParameterfv_size(GLenum); 71extern INTERNAL PURE FASTCALL GLint __glGetTexParameteriv_size(GLenum); 72extern INTERNAL PURE FASTCALL GLint __glGetTexLevelParameterfv_size(GLenum); 73extern INTERNAL PURE FASTCALL GLint __glGetTexLevelParameteriv_size(GLenum); 74extern INTERNAL PURE FASTCALL GLint __glGetColorTableParameterfv_size(GLenum); 75extern INTERNAL PURE FASTCALL GLint __glGetColorTableParameteriv_size(GLenum); 76extern INTERNAL PURE FASTCALL GLint 77__glGetConvolutionParameterfv_size(GLenum); 78extern INTERNAL PURE FASTCALL GLint 79__glGetConvolutionParameteriv_size(GLenum); 80extern INTERNAL PURE FASTCALL GLint __glGetHistogramParameterfv_size(GLenum); 81extern INTERNAL PURE FASTCALL GLint __glGetHistogramParameteriv_size(GLenum); 82extern INTERNAL PURE FASTCALL GLint __glGetMinmaxParameterfv_size(GLenum); 83extern INTERNAL PURE FASTCALL GLint __glGetMinmaxParameteriv_size(GLenum); 84extern INTERNAL PURE FASTCALL GLint __glGetProgramivARB_size(GLenum); 85extern INTERNAL PURE FASTCALL GLint __glGetVertexAttribdvARB_size(GLenum); 86extern INTERNAL PURE FASTCALL GLint __glGetVertexAttribfvARB_size(GLenum); 87extern INTERNAL PURE FASTCALL GLint __glGetVertexAttribivARB_size(GLenum); 88extern INTERNAL PURE FASTCALL GLint __glGetQueryObjectivARB_size(GLenum); 89extern INTERNAL PURE FASTCALL GLint __glGetQueryObjectuivARB_size(GLenum); 90extern INTERNAL PURE FASTCALL GLint __glGetQueryivARB_size(GLenum); 91extern INTERNAL PURE FASTCALL GLint __glGetProgramivNV_size(GLenum); 92extern INTERNAL PURE FASTCALL GLint __glGetVertexAttribdvNV_size(GLenum); 93extern INTERNAL PURE FASTCALL GLint __glGetVertexAttribfvNV_size(GLenum); 94extern INTERNAL PURE FASTCALL GLint __glGetVertexAttribivNV_size(GLenum); 95extern INTERNAL PURE FASTCALL GLint 96__glGetFramebufferAttachmentParameterivEXT_size(GLenum); 97 98# undef PURE 99# undef FASTCALL 100# undef INTERNAL 101 102#endif /* !defined( _INDIRECT_SIZE_GET_H_ ) */ 103