mirror of
https://github.com/status-im/nim-stew.git
synced 2025-02-10 19:16:37 +00:00
Fix *nix compilation problem.
This commit is contained in:
parent
1746bc0095
commit
8d87ba3e05
@ -414,8 +414,8 @@ when defined(posix):
|
||||
ps: ptr Mbstate): csize_t {.
|
||||
importc, header: "<wchar.h>".}
|
||||
|
||||
proc mbstowcs*[A: Bytes, B: Wides](t: typedesc[B],
|
||||
input: openarray[A]): UResult[seq[B]] =
|
||||
proc mbstowcs*[A: Bytes, B: Wides32](t: typedesc[B],
|
||||
input: openarray[A]): UResult[seq[B]] =
|
||||
## Converts multibyte encoded string to OS specific wide char string.
|
||||
##
|
||||
## Note, that `input` should be `0` terminated.
|
||||
|
Loading…
x
Reference in New Issue
Block a user