浏览代码

Merge pull request #946 from Kelimion/virtual_allocator

Fix typo in core:mem alloc() comment.
Jeroen van Rijn 4 年之前
父节点
当前提交
15ce8b0454
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/mem/alloc.odin

+ 1 - 1
core/mem/alloc.odin

@@ -22,7 +22,7 @@ Allocator_Mode_Set :: distinct bit_set[Allocator_Mode];
 Allocator_Query_Info :: runtime.Allocator_Query_Info;
 Allocator_Query_Info :: runtime.Allocator_Query_Info;
 /*
 /*
 Allocator_Query_Info :: struct {
 Allocator_Query_Info :: struct {
-	pointer:   Maybe(rawptr),
+	pointer:   rawptr,
 	size:      Maybe(int),
 	size:      Maybe(int),
 	alignment: Maybe(int),
 	alignment: Maybe(int),
 }
 }