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_H_ ) 29# define _INDIRECT_SIZE_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#include <X11/Xfuncproto.h> 40 41# if defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)) 42# define PURE __attribute__((pure)) 43# else 44# define PURE 45# endif 46 47# if defined(__i386__) && defined(__GNUC__) && !defined(__CYGWIN__) && !defined(__MINGW32__) 48# define FASTCALL __attribute__((fastcall)) 49# else 50# define FASTCALL 51# endif 52 53extern _X_INTERNAL PURE FASTCALL GLint __glCallLists_size(GLenum); 54extern _X_INTERNAL PURE FASTCALL GLint __glFogfv_size(GLenum); 55extern _X_INTERNAL PURE FASTCALL GLint __glFogiv_size(GLenum); 56extern _X_INTERNAL PURE FASTCALL GLint __glLightfv_size(GLenum); 57extern _X_INTERNAL PURE FASTCALL GLint __glLightiv_size(GLenum); 58extern _X_INTERNAL PURE FASTCALL GLint __glLightModelfv_size(GLenum); 59extern _X_INTERNAL PURE FASTCALL GLint __glLightModeliv_size(GLenum); 60extern _X_INTERNAL PURE FASTCALL GLint __glMaterialfv_size(GLenum); 61extern _X_INTERNAL PURE FASTCALL GLint __glMaterialiv_size(GLenum); 62extern _X_INTERNAL PURE FASTCALL GLint __glTexParameterfv_size(GLenum); 63extern _X_INTERNAL PURE FASTCALL GLint __glTexParameteriv_size(GLenum); 64extern _X_INTERNAL PURE FASTCALL GLint __glTexEnvfv_size(GLenum); 65extern _X_INTERNAL PURE FASTCALL GLint __glTexEnviv_size(GLenum); 66extern _X_INTERNAL PURE FASTCALL GLint __glTexGendv_size(GLenum); 67extern _X_INTERNAL PURE FASTCALL GLint __glTexGenfv_size(GLenum); 68extern _X_INTERNAL PURE FASTCALL GLint __glTexGeniv_size(GLenum); 69extern _X_INTERNAL PURE FASTCALL GLint __glMap1d_size(GLenum); 70extern _X_INTERNAL PURE FASTCALL GLint __glMap1f_size(GLenum); 71extern _X_INTERNAL PURE FASTCALL GLint __glMap2d_size(GLenum); 72extern _X_INTERNAL PURE FASTCALL GLint __glMap2f_size(GLenum); 73extern _X_INTERNAL PURE FASTCALL GLint __glColorTableParameterfv_size(GLenum); 74extern _X_INTERNAL PURE FASTCALL GLint __glColorTableParameteriv_size(GLenum); 75extern _X_INTERNAL PURE FASTCALL GLint __glConvolutionParameterfv_size(GLenum); 76extern _X_INTERNAL PURE FASTCALL GLint __glConvolutionParameteriv_size(GLenum); 77extern _X_INTERNAL PURE FASTCALL GLint __glPointParameterfv_size(GLenum); 78extern _X_INTERNAL PURE FASTCALL GLint __glPointParameteriv_size(GLenum); 79 80# undef PURE 81# undef FASTCALL 82 83#endif /* !defined( _INDIRECT_SIZE_H_ ) */ 84