std/rtarrays

Source   Edit  

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 getRawData[T](x: var RtArray[T]): ptr UncheckedArray[T]
Source   Edit  
proc initRtArray[T](len: Natural): RtArray[T]
Source   Edit