#NEWLINE# @ classmethod #NEWLINE# def typename( cls , raco_type , allow_subs = True ) : #NEWLINE# #INDENT# if ( cls . _external_indexing and ( raco_type == types . STRING_TYPE ) and allow_subs ) : #NEWLINE# #INDENT# raco_type = types . LONG_TYPE #NEWLINE# #UNINDENT# n = { #NEWLINE# #INDENT# types . LONG_TYPE : 'int64_t' , #NEWLINE# types . BOOLEAN_TYPE : 'bool' , #NEWLINE# types . DOUBLE_TYPE : 'double' , #NEWLINE# types . STRING_TYPE : 'std::array<char, MAX_STR_LEN>' , #NEWLINE# #UNINDENT# } . get ( raco_type ) #NEWLINE# assert ( n is not None ) , 'Clang does not yet support type {type}' . format ( type = n ) #NEWLINE# return n