diff options
Diffstat (limited to 'lib/system/memalloc.nim')
-rw-r--r-- | lib/system/memalloc.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/memalloc.nim b/lib/system/memalloc.nim index 178d199b8..142762fe7 100644 --- a/lib/system/memalloc.nim +++ b/lib/system/memalloc.nim @@ -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``. ## |