Sign in
◑
Theme
qemu
/
meson
/
refs/heads/fixboostpython
/
.
/
test cases
/
common
/
227 very long command line
/
codegen.py
blob: 54a0cbe66c60343f43f4b310b5b92e98e5c7cea7 [
file
]
#!/usr/bin/env python3
import
sys
from
pathlib
import
Path
Path
(
sys
.
argv
[
2
]).
write_text
(
'int func{n}(void) {{ return {n}; }}'
.
format
(
n
=
sys
.
argv
[
1
]),
encoding
=
'utf-8'
)