Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Araq authored and EchoPouet committed Jun 13, 2020
1 parent 4d834d6 commit 816693b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/system/mm/malloc.nim
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@

{.push stackTrace: off.}

proc allocImpl(size: Natural): pointer =
c_malloc(size.csize_t)

Expand Down Expand Up @@ -81,3 +83,4 @@ proc dealloc(r: var MemRegion, p: pointer) = dealloc(p)
proc deallocOsPages(r: var MemRegion) = discard
proc deallocOsPages() = discard

{.pop.}

0 comments on commit 816693b

Please sign in to comment.