system.nim: don't use deprecated symbols/constructs

This commit is contained in:
Araq 2017-02-08 14:55:30 +01:00
commit 346ea6d171
8 changed files with 33 additions and 32 deletions

View file

@ -748,7 +748,7 @@ proc getOccupiedMem(a: MemRegion): int {.inline.} =
# ---------------------- thread memory region -------------------------------
template instantiateForRegion(allocator: expr) =
template instantiateForRegion(allocator: untyped) =
when defined(fulldebug):
proc interiorAllocatedPtr*(p: pointer): pointer =
result = interiorAllocatedPtr(allocator, p)