rtarrays

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

Unstable API.

Types

RtArray[T] = object
  L: Natural
  spart: seq[T]
  apart: array[ArrayPartSize, T]
Source Edit

Procs

proc initRtArray[T](len: Natural): RtArray[T]
Source Edit
proc getRawData[T](x: var RtArray[T]): ptr UncheckedArray[T]
Source Edit

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