Fix typo
This commit is contained in:
1 parent
184d1c57b1
commit
10f1d8c604
1 file changed
+1
-1
+1
-1
@@ -57,7 +57,7 @@ DEFAULT_ALIGNMENT :: 2*align_of(rawptr)
|
|||||||
|
|
||||||
DEFAULT_PAGE_SIZE ::
|
DEFAULT_PAGE_SIZE ::
|
||||||
64 * 1024 when ODIN_ARCH == .wasm32 || ODIN_ARCH == .wasm64 else
|
64 * 1024 when ODIN_ARCH == .wasm32 || ODIN_ARCH == .wasm64 else
|
||||||
16 * 1024 when ODIN_OS == .darwin && ODIN_ARCH == .arm64 else
|
16 * 1024 when ODIN_OS == .Darwin && ODIN_ARCH == .arm64 else
|
||||||
4 * 1024
|
4 * 1024
|
||||||
|
|
||||||
alloc :: proc(size: int, alignment: int = DEFAULT_ALIGNMENT, allocator := context.allocator, loc := #caller_location) -> rawptr {
|
alloc :: proc(size: int, alignment: int = DEFAULT_ALIGNMENT, allocator := context.allocator, loc := #caller_location) -> rawptr {
|
||||||
|
|||||||
Reference in new issue
Block a user