remove ArrayDummySize with unchecked arrays (#5818)
This commit is contained in:
parent
b2aae477d1
commit
22684370b0
11 changed files with 25 additions and 28 deletions
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue