Merge branch 'master' into odin-global-constants-as-enums

This commit is contained in:
gingerBill authored and GitHub committed 2022-02-15 15:47:24 +00:00
commit f5697dd7f2
113 files changed
+5553 -4255

No files matched your search

+2
View File
@@ -727,6 +727,8 @@ heap_alloc :: proc(size: int) -> rawptr {
}
heap_resize :: proc(ptr: rawptr, new_size: int) -> rawptr {
// NOTE: _unix_realloc doesn't guarantee new memory will be zeroed on
// POSIX platforms. Ensure your caller takes this into account.
return _unix_realloc(ptr, c.size_t(new_size))
}