arc allocation method aligned (#15588)

* progress

* fix typo
This commit is contained in:
cooldome
2020-10-19 13:50:06 +01:00
committed by GitHub
parent 67afe72e9c
commit 833035bacd
9 changed files with 85 additions and 41 deletions

View File

@@ -174,7 +174,7 @@ when hasAlloc and not defined(js):
## from a shared heap.
cast[ptr T](realloc(p, T.sizeof * newSize))
template dealloc*(p: pointer) =
proc dealloc*(p: pointer) {.noconv, compilerproc, rtl, benign, raises: [], tags: [].} =
## Frees the memory allocated with ``alloc``, ``alloc0`` or
## ``realloc``.
##