<s> from glad . lang . common . loader import BaseLoader <EOL> from glad . lang . d . loader import LOAD_OPENGL_DLL <EOL> _GLX_LOADER = LOAD_OPENGL_DLL % { '<STR_LIT>' : '<STR_LIT>' , '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , '<STR_LIT>' : '<STR_LIT>' } + '''<STR_LIT>''' <EOL> _GLX_HAS_EXT = '''<STR_LIT>''' <EOL> class GLXDLoader ( BaseLoader ) : <EOL> def write_header_end ( self , fobj ) : <EOL> pass <EOL> def write_header ( self , fobj ) : <EOL> pass <EOL> def write ( self , fobj ) : <EOL> fobj . write ( '<STR_LIT>' ) <EOL> if not self . disabled : <EOL> fobj . write ( _GLX_LOADER ) <EOL> def write_begin_load ( self , fobj ) : <EOL> pass <EOL> def write_end_load ( self , fobj ) : <EOL> fobj . write ( '<STR_LIT>' ) <EOL> def write_find_core ( self , fobj ) : <EOL> pass <EOL> def write_has_ext ( self , fobj ) : <EOL> fobj . write ( _GLX_HAS_EXT ) </s>
