#NEWLINE# def declare_external_function( self , module , fndesc ) : #NEWLINE# #INDENT# fnty = self . get_external_function_type ( fndesc ) #NEWLINE# fn = module . get_or_insert_function ( fnty , name = fndesc . mangled_name ) #NEWLINE# assert fn . is_declaration #NEWLINE# for ( ak , av ) in zip ( fndesc . args , fn . args ) : #NEWLINE# #INDENT# av . name = ( 'arg.%s' % ak ) #NEWLINE# #UNINDENT# return fn