mdotcall2.nim 175 B

12345678
  1. # imported by mdotcall
  2. proc baseAddr*[T](x: openarray[T]): pointer =
  3. cast[pointer](x)
  4. proc shift*(p: pointer, delta: int): pointer =
  5. cast[pointer](cast[int](p) + delta)