mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-17 11:22:22 -07:00
Disable pointer arithmetic
This commit is contained in:
+1
-2
@@ -1785,8 +1785,7 @@ struct TypePath {
|
||||
|
||||
|
||||
void type_path_init(TypePath *tp) {
|
||||
// TODO(bill): Use an allocator that uses a backing array if it can and then use alternative allocator when exhausted
|
||||
array_init(&tp->path, heap_allocator());
|
||||
tp->path.allocator = heap_allocator();
|
||||
}
|
||||
|
||||
void type_path_free(TypePath *tp) {
|
||||
|
||||
Reference in New Issue
Block a user