This commit is contained in:
Chadtech 2021-02-04 00:37:27 -05:00
parent bec9e6ff53
commit ba5f87e149
2 changed files with 3 additions and 8 deletions

View file

@ -45,12 +45,7 @@ pub const RocDict = extern struct {
return result; return result;
} }
pub fn deinit( pub fn deinit(self: RocDict, allocator: *Allocator, key_size: usize, value_size: usize) void {
self: RocDict,
allocator: *Allocator,
key_size: usize,
value_size: usize
) void {
if (!self.isEmpty()) { if (!self.isEmpty()) {
const slot_size = slotSize(key_size, value_size); const slot_size = slotSize(key_size, value_size);