mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
vlib: add a new module builtin.wchar
, to ease dealing with C APIs that accept wchar_t*
(#18794)
This commit is contained in:
parent
de392003be
commit
ded6c38061
5 changed files with 167 additions and 4 deletions
|
@ -295,7 +295,7 @@ fn C.SymCleanup(hProcess voidptr)
|
|||
|
||||
fn C.MultiByteToWideChar(codePage u32, dwFlags u32, lpMultiMyteStr &char, cbMultiByte int, lpWideCharStr &u16, cchWideChar int) int
|
||||
|
||||
fn C.wcslen(str &u16) int
|
||||
fn C.wcslen(str voidptr) usize
|
||||
|
||||
fn C.WideCharToMultiByte(codePage u32, dwFlags u32, lpWideCharStr &u16, cchWideChar int, lpMultiByteStr &char, cbMultiByte int, lpDefaultChar &char, lpUsedDefaultChar &int) int
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue