Rename parameters

This commit is contained in:
bainchild 2023-01-03 21:15:21 -06:00 committed by GitHub
parent 5230c1039d
commit 88e2884fc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -945,17 +945,17 @@ do
end end
end end
function allocator.copy(memory, dst, src, len) function allocator.copy(memory, destination, source, length)
for i = 1, len do for i = 1, length do
local v = load_byte(memory, src + i - 1) local v = load_byte(memory, source + i - 1)
store_byte(memory, dst + i - 1, v) store_byte(memory, destination + i - 1, v)
end end
end end
function allocator.fill(memory, dst, value, len) function allocator.fill(memory, destination, value, length)
for i = 1, len do for i = 1, length do
store_byte(memory, dst + i - 1, value) store_byte(memory, destination + i - 1, value)
end end
end end