Home | History | Annotate | Download | only in bindings

Lines Matching refs:typemap

5 """Generates a JSON typemap from its command-line arguments and dependencies.
7 Each typemap should be specified in an command-line argument of the form
8 key=value, with an argument of "--start-typemap" preceding each typemap.
11 generate_type_mappings.py --output=foo.typemap --start-typemap \\
15 generates a foo.typemap containing
31 generate_type_mappings.py --dependency foo.typemap --output=bar.typemap \\
32 --start-typemap public_headers=bar.h traits_headers=bar_traits.h \\
35 generates a bar.typemap containing
72 typemaps = [s for s in '\n'.join(args).split('--start-typemap\n') if s]
74 for typemap in typemaps:
75 result.update(ParseTypemap(typemap))
79 def ParseTypemap(typemap):
81 for line in typemap.split('\n'):
130 help=('A path to another JSON typemap to merge into the output. '