remove ArrayDummySize with unchecked arrays (#5818)

This commit is contained in:
Jacek Sieka 2017-08-28 21:44:35 +08:00 • committed by Andreas Rumpf
commit 22684370b0
11 changed files with 25 additions and 28 deletions

View file

@ -15,7 +15,7 @@ when not declared(NimString):
type
Utf16Char* = distinct int16
WideCString* = ref array[ArrayDummySize, Utf16Char]
WideCString* = ref UncheckedArray[Utf16Char]
{.deprecated: [TUtf16Char: Utf16Char].}
proc len*(w: WideCString): int =