We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2ae097 commit a5c8cd4Copy full SHA for a5c8cd4
stew/utf8.nim
@@ -414,8 +414,8 @@ when defined(posix):
414
ps: ptr Mbstate): csize_t {.
415
importc, header: "<wchar.h>".}
416
417
- proc mbstowcs*[A: Bytes, B: Wides](t: typedesc[B],
418
- input: openarray[A]): UResult[seq[B]] =
+ proc mbstowcs*[A: Bytes, B: Wides32](t: typedesc[B],
+ input: openarray[A]): UResult[seq[B]] =
419
## Converts multibyte encoded string to OS specific wide char string.
420
##
421
## Note, that `input` should be `0` terminated.
0 commit comments