aboutsummaryrefslogtreecommitdiff
path: root/src/check_expr.cpp
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2022-08-30 16:35:18 +0200
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2022-08-30 16:35:18 +0200
commit803fd8f037277b9242a3f10cd5d82ca754169735 (patch)
tree457d80530408e501b42d67b7ff46187ceb451e19 /src/check_expr.cpp
parent67bdb5b1a33da122542afeeee38b4687c656e38c (diff)
Wrap CMark allocator as Odin allocator
```odin // Smaller allocation to larger allocation resize { // Allocated on CMark's allocator foo := make([dynamic]int, 13) for i in 0..<13 { foo[i] = i } fmt.println("Before resize:", foo) resize(&foo, 42) fmt.println("After resize:", foo) delete(foo) } ```
Diffstat (limited to 'src/check_expr.cpp')
0 files changed, 0 insertions, 0 deletions