code substitution: fix formatting
This commit is contained in:
parent
73710ae208
commit
24dc6a338e
@ -90,7 +90,7 @@ if __name__ == "__main__":
|
|||||||
makedirs(PATHS["build_dir"], exist_ok=True)
|
makedirs(PATHS["build_dir"], exist_ok=True)
|
||||||
|
|
||||||
if not args.no_return: # Insert return statement
|
if not args.no_return: # Insert return statement
|
||||||
bytebeat_contents = f"\treturn\n\n{bytebeat_contents}"
|
bytebeat_contents = f"return {bytebeat_contents}"
|
||||||
|
|
||||||
final_sample_rate_code = ""
|
final_sample_rate_code = ""
|
||||||
if not args.final_sample_rate is None:
|
if not args.final_sample_rate is None:
|
||||||
|
@ -84,8 +84,7 @@ bytebeat(long double w)
|
|||||||
{
|
{
|
||||||
`final_sample_rate_code`
|
`final_sample_rate_code`
|
||||||
uintmax_t t = (uintmax_t)w;
|
uintmax_t t = (uintmax_t)w;
|
||||||
`bytebeat_contents`
|
`bytebeat_contents`;
|
||||||
;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#define USAGE "render_bytebeat [-s | --silent] [-d | --debug]"
|
#define USAGE "render_bytebeat [-s | --silent] [-d | --debug]"
|
||||||
|
Loading…
Reference in New Issue
Block a user