Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add `toOpenArray[T](ptr UncheckedArray[T])` for clarity. (#9316) | c-blake | 2018-10-12 | 1 | -0/+5 |
| | | | | | | | | | | | * Add `toOpenArray[T](ptr UncheckedArray[T])` for clarity. `ptr array[0,T]` for some unchecked type already works but A) `UncheckedArray` seems to be the intended future way for this kind of access, and B) essentially all use cases will have a `ptr` for that kind of array source and this call signature lets callers drop the trailing `[]` corresponding to that `ptr` deref. This PR relates to issue https://github.com/nim-lang/Nim/issues/9001 . * Add a test for toOpenArray() for UncheckedArray[T]s. | ||||
* | fixes #9281 | Araq | 2018-10-11 | 1 | -0/+15 |
| | |||||
* | Add proc toOpenArray[byte] for strings (#7820) | Dmitry Atamanov | 2018-07-07 | 1 | -0/+16 |
| | |||||
* | test negative range array | nitely | 2018-06-06 | 1 | -0/+14 |
| | |||||
* | check bounds instead of index | nitely | 2018-06-05 | 1 | -0/+25 |
| | |||||
* | added toOpenArray builtin for zero-copy slices; syntax sugar yet to come | Araq | 2018-03-24 | 1 | -1/+28 |
| | |||||
* | fixes #6710 | Andreas Rumpf | 2017-11-08 | 1 | -0/+4 |
| | |||||
* | Implementation of high/low for SomeReal (#6570) | Fabian Keller | 2017-10-30 | 1 | -0/+18 |