W3cubDocs

/Nim

Module rtarrays

Module that implements a fixed length array whose size is determined at runtime. Note: This is not ready for other people to use!

Types

RtArray[T] = object
  L: Natural
  spart: seq[T]
  apart: array[ArrayPartSize, T]
UncheckedArray {...}{.unchecked.}[T] = array[0, T]

Procs

proc initRtArray[T](len: Natural): RtArray[T]
"is greater" operator. This is the same as y < x.
proc getRawData[T](x: var RtArray[T]): ptr UncheckedArray[T]
"is greater" operator. This is the same as y < x.

© 2006–2018 Andreas Rumpf
Licensed under the MIT License.
https://nim-lang.org/docs/rtarrays.html