#ifndef __gl_stubs_h__
#define __gl_stubs_h__

typedef void (*GL_ACTIVETEXTUREARB_FUNC)( unsigned int);
typedef void (*GL_MULTITEXCOORD2FARB_FUNC)( unsigned int, float, float );
typedef void (*GL_CLIENTACTIVETEXTUREARB_FUNC)( int );
typedef void (*GL_LOCKARRAYSEXT_FUNC)( int, int );
typedef void (*GL_UNLOCKARRAYSEXT_FUNC)( void );

#ifdef __gl_stubs_cc__
GL_ACTIVETEXTUREARB_FUNC glActiveTextureARB_ptr =  0;
GL_MULTITEXCOORD2FARB_FUNC glMultiTexCoord2fARB_ptr =  0;
GL_CLIENTACTIVETEXTUREARB_FUNC glClientActiveTextureARB_ptr = 0;
GL_LOCKARRAYSEXT_FUNC glLockArraysEXT_ptr = 0;
GL_UNLOCKARRAYSEXT_FUNC glUnlockArraysEXT_ptr = 0;

#else
extern GL_ACTIVETEXTUREARB_FUNC glActiveTextureARB_ptr;
extern GL_MULTITEXCOORD2FARB_FUNC glMultiTexCoord2fARB_ptr;
extern GL_CLIENTACTIVETEXTUREARB_FUNC glClientActiveTextureARB_ptr;
extern GL_LOCKARRAYSEXT_FUNC glLockArraysEXT_ptr;
extern GL_UNLOCKARRAYSEXT_FUNC glUnlockArraysEXT_ptr;
extern void setup_gl_stubs();
        
#endif

#endif


