Disable pointer arithmetic

This commit is contained in:
gingerBill
2018-05-13 16:10:02 +01:00
parent 319aca3101
commit de9a4b5164
6 changed files with 60 additions and 48 deletions
+1 -2
View File
@@ -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) {