mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-06 12:52:49 -04:00
Disable struct field reordering (for the time being)
This commit is contained in:
1 parent
fd1f6ec75c
commit
f7e9649be4
15 files changed
+103
-292
No files matched your search
+2
-4
@@ -30,14 +30,12 @@ template <typename T> void ptr_set_rehash (PtrSet<T> *s, isize new_cou
|
||||
template <typename T>
|
||||
void ptr_set_init(PtrSet<T> *s, gbAllocator a, isize capacity) {
|
||||
array_init(&s->hashes, a, capacity);
|
||||
array_init(&s->entries, a, capacity);
|
||||
}
|
||||
array_init(&s->entries, a, capacity);}
|
||||
|
||||
template <typename T>
|
||||
void ptr_set_destroy(PtrSet<T> *s) {
|
||||
array_free(&s->hashes);
|
||||
array_free(&s->entries);
|
||||
}
|
||||
array_free(&s->entries);}
|
||||
|
||||
template <typename T>
|
||||
gb_internal isize ptr_set__add_entry(PtrSet<T> *s, T ptr) {
|
||||
|
||||
Reference in new issue
Block a user