#NEWLINE# def c_intermediate_globals_init( self , count ) : #NEWLINE# #INDENT# if ( self . access == INC ) : #NEWLINE# #INDENT# init = ( '(%(type)s)0' % { #NEWLINE# #INDENT# 'type' : self . ctype , #NEWLINE# #UNINDENT# } ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# init = ( '%(name)s[i]' % { #NEWLINE# #INDENT# 'name' : self . c_arg_name ( ) , #NEWLINE# #UNINDENT# } ) #NEWLINE# #UNINDENT# return ( 'for ( int i = 0; i < %(dim)s; i++ ) %(name)s_l%(count)s[0][i] = %(init)s' % { #NEWLINE# #INDENT# 'dim' : count . data . cdim , #NEWLINE# 'name' : self . c_arg_name ( ) , #NEWLINE# 'count' : str ( count ) , #NEWLINE# 'init' : init , #NEWLINE# #UNINDENT# } )