system.nim: don't use deprecated symbols/constructs
This commit is contained in:
parent
794d36cf31
commit
346ea6d171
8 changed files with 33 additions and 32 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue