mem: replace size procedures with constants
This commit is contained in:
1 parent
426a6a9528
commit
698fcb7813
2 files changed
+7
-6
No files matched your search
@@ -151,7 +151,7 @@ print :: proc(p: ^Printer, file: ^ast.File) -> string {
|
||||
|
||||
fix_lines(p)
|
||||
|
||||
builder := strings.make_builder(0, mem.megabytes(5), p.allocator)
|
||||
builder := strings.make_builder(0, 5 * mem.Megabyte, p.allocator)
|
||||
|
||||
last_line := 0
|
||||
|
||||
|
||||
Reference in new issue
Block a user