Nim/lib
c-blake 1b3725e395 Add toOpenArray[T](ptr UncheckedArray[T]) for clarity. (#9316)
* 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.
2018-10-12 17:40:07 +02:00
..
arch/x86 Coroutine rework. 2017-02-20 17:24:19 +02:00
core Unchecked arrays now have their own type (#9267) 2018-10-10 21:03:18 +02:00
deprecated Convert *_family fields to cushort 2018-09-19 12:33:11 +02:00
genode Native access to Genode environment 2018-06-07 07:21:20 +02:00
genode_cpp Native access to Genode environment 2018-06-07 07:21:20 +02:00
impure fixes #9306 2018-10-11 16:15:35 +02:00
js Try/Catch support for native JS exceptions (#8955) 2018-10-09 19:51:29 +02:00
nintendoswitch Rewrite the memory management code for Nintendo Switch (#8169) 2018-07-05 16:33:15 +02:00
packages Don't prevent ',' from getting escaped in theindex.html 2018-09-28 15:39:22 -04:00
posix inject sig from anonymous proc instead of for loop 2018-09-24 23:49:13 +02:00
pure Proposed solution for issue #8919 (#9280) 2018-10-12 17:28:21 +02:00
std Replace the sha1 implementation w/ a working one (#9242) 2018-10-09 11:50:10 +02:00
system Avoid memory allocation during dynlib loading (#9320) 2018-10-12 08:56:14 +02:00
windows Convert *_family fields to cushort 2018-09-19 12:33:11 +02:00
wrappers Allocate OpenSSL memory outside of the thread heap 2018-09-27 17:23:55 +02:00
cycle.h
nimbase.h define NIM_NIL nullptr when __cplusplus >= 201103L 2018-10-08 14:05:43 +02:00
nimrtl.nim lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00
nimrtl.nim.cfg
prelude.nim
stdlib.nimble attempt to make the build green again 2017-01-07 02:55:15 +01:00
system.nim Add toOpenArray[T](ptr UncheckedArray[T]) for clarity. (#9316) 2018-10-12 17:40:07 +02:00