Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
0930c43e43f79617a33a6c3be32afbe184780307
/
.
/
Mac
/
Tools
/
macfreeze
/
macgenerate.py
blob: 6c60605bdc683693054f4d27513178a0ac25af23 [
file
] [
log
] [
blame
]
"""macgenerate - Generate the out for macfreeze"""
def
generate
(
program
,
module_dict
):
for
name
in
module_dict
.
keys
():
print
'Include %-20s\t'
%
name
,
module
=
module_dict
[
name
]
print
module
.
gettype
(),
'\t'
,
`
module
`
return
0