style: align layout and ownership documentation

This commit is contained in:
2026-10-27 11:07:31 +01:00
parent 4a134b49dd
commit 84e3ed0cc8
16 changed files with 459 additions and 217 deletions
+7 -2
View File
@@ -91,8 +91,13 @@ emit proc(
for (module.functions.items[..index]) |previous| {
if (mem.eql(previous.external_name, function.external_name)) duplicate = true
}
if (duplicate or mem.eql(function.external_name, "write") or mem.eql(function.external_name, "__error")
or mem.eql(function.external_name, "snprintf") or mem.eql(function.external_name, "exit")) continue
if (
duplicate
or mem.eql(function.external_name, "write")
or mem.eql(function.external_name, "__error")
or mem.eql(function.external_name, "snprintf")
or mem.eql(function.external_name, "exit")
) continue
}
values :: try mem.alloc(Type, allocator, function.value_count)
defer mem.free(allocator, values)