big: More ZII refactoring.

This commit is contained in:
Jeroen van Rijn
2021-08-11 20:59:50 +02:00
parent 687c211a58
commit 2e372b33a3
6 changed files with 151 additions and 182 deletions
+3 -7
View File
@@ -141,15 +141,11 @@ cmp_mag :: compare_magnitude;
destroy :: proc {
/*
Deallocates the backing memory of an `Int` and resets it.
Clears one or more `Int`s and dellocates their backing memory.
int_destroy :: proc(a: ^Int, allocator_zeroes := false, allocator := context.allocator)
int_destroy :: proc(integers: ..^Int)
*/
int_destroy,
};
init :: proc{
int_init_sized,
int_init_from_integer,
int_init_copy,
};