# Copyright (c) 2001, Stanford University
# All rights reserved.
#
# See the file LICENSE.txt for information on redistributing this software.


import sys

sys.path.append( "../glapi_parser" )
import apiutil

apiutil.CopyrightDef()

print """
EXPORTS
"""

keys = apiutil.GetDispatchedFunctions("../glapi_parser/APIspec.txt")

for func_name in apiutil.AllSpecials( 'state' ):
	print "crState%s" % func_name

for func_name in apiutil.AllSpecials( 'state_feedback' ):
	print "crStateFeedback%s" % func_name

for func_name in apiutil.AllSpecials( 'state_select' ):
	print "crStateSelect%s" % func_name

print """crStateInit
crStateReadPixels
crStateGetChromiumParametervCR
crStateCreateContext
crStateDestroyContext
crStateFreeContext
crStateDiffContext
crStateSwitchContext
crStateMakeCurrent
crStateSetCurrent
crStateFlushFunc
crStateFlushArg
crStateDiffAPI
crStateSetCurrentPointers
crStateCurrentRecover
crStateTransformUpdateTransform
crStateColorMaterialRecover
crStateError
crStateUpdateColorBits
crStateClientInit
crStateGetCurrent
crStateLimitsInit
crStateMergeExtensions
crStateRasterPosUpdate
crStateTextureCheckDirtyImages
crStateExtensionsInit
crStateSetExtensionString
crStateNativePixelPacking
crStateUseServerArrays
crStateUseServerArrayElements
crStateComputeVersion
crStateTransformXformPointMatrixf
crStateTransformXformPointMatrixd
crStateInitMatrixStack
crStateLoadMatrix
__currentBits
"""
