3 # FIXME: where does the #include "marshalers.h" go?
8 print('Usage: {0} <listname> <outputfile>')
11 glib_genmarshal
= sys
.argv
[1]
12 listname
= sys
.argv
[2]
15 if outname
.endswith('.h'):
20 output
= subprocess
.check_output([glib_genmarshal
, '--prefix=test', '--valist-marshallers', arg
, listname
])
21 open(outname
, 'wb').write(output
)