Home | History | Annotate | Download | only in tables

Lines Matching refs:outfile

48 def main(infile, outfile):
54 print >>outfile, '// Generated from Unicode script tables\n'
55 print >>outfile, '#ifndef SCRIPT_PROPERTIES_H_'
56 print >>outfile, '#define SCRIPT_PROPERTIES_H_\n'
57 print >>outfile, '#include <stdint.h>'
58 print >>outfile, '#include "harfbuzz-shaper.h"\n'
59 print >>outfile, 'struct script_property {'
60 print >>outfile, ' uint32_t range_start;'
61 print >>outfile, ' uint32_t range_end;'
62 print >>outfile, ' HB_Script script;'
63 print >>outfile, '};\n'
64 print >>outfile, 'static const struct script_property script_properties[] = {'
66 print >>outfile, ' {0x%x, 0x%x, %s},' % (start, end, value)
67 print >>outfile, '};\n'
68 print >>outfile, 'static const unsigned script_properties_count = %d;\n' % len(ranges)
69 print >>outfile, '#endif // SCRIPT_PROPERTIES_H_'