Lines Matching refs:field_info
5 def _GenerateArrayField(field_info):
8 contents = field_info['contents']
9 contents['field'] = '* ' + field_info['field']
13 ' const size_t %s_size') % field_info['field'];
15 def GenerateField(field_info):
17 field_info['type'] in a C structure.
19 field = field_info['field']
20 type = field_info['type']
28 return 'const %s %s' % (field_info['ctype'], field)
30 return _GenerateArrayField(field_info)
40 for field_info in schema:
41 lines.append(' ' + GenerateField(field_info) + ';')