#NEWLINE# def getlines( ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# f = open ( os . path . join ( os . path . dirname ( cffi . __file__ ) , '..' , 'c' , 'commontypes.c' ) ) #NEWLINE# #UNINDENT# except IOError : #NEWLINE# #INDENT# py . test . skip ( 'cannot find ../c/commontypes.c' ) #NEWLINE# #UNINDENT# lines = [ line for line in f . readlines ( ) if line . strip ( ) . startswith ( 'EQ(' ) ] #NEWLINE# f . close ( ) #NEWLINE# return lines