Commit Graph

4 Commits

Author SHA1 Message Date
zah 9960d8eea9 Add a helper for creating open arrays from pointers (#36)
* Add a helper for creating open arrays from pointers

* doh, toOpenArray is broken in Nim 0.19.0

* Make openarrays from typed pointers

* remove the ptr.toOpenArray seq work-around
2019-02-22 19:51:42 +02:00
Zahary Karadjov b11110240f add pointer distance function 2018-12-18 01:02:16 +02:00
Yuriy Glukhov 86037c1d93 Typed ranges 2018-03-26 16:17:22 +03:00
Zahary Karadjov ee803f088f pointer arithmetic helpers 2018-02-16 16:39:44 +02:00