mirror of
https://github.com/italicsjenga/vello.git
synced 2025-01-10 20:51:29 +11:00
correct signature generation of non-memory enum writer
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
parent
79d722df48
commit
eaa714644e
|
@ -536,7 +536,7 @@ fn gen_enum_write(
|
||||||
} else {
|
} else {
|
||||||
writeln!(
|
writeln!(
|
||||||
r,
|
r,
|
||||||
"void {}_{}_write(Alloc a, {}Ref ref, {} s) {{",
|
"void {}_{}_write({}Ref ref, {} s) {{",
|
||||||
name, var_name, name, structname
|
name, var_name, name, structname
|
||||||
)
|
)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
Loading…
Reference in a new issue