diff options
author | Lzu Tao <taolzu@gmail.com> | 2019-12-29 18:07:18 +0700 |
---|---|---|
committer | Lzu Tao <taolzu@gmail.com> | 2020-02-21 10:42:15 +0700 |
commit | 723a2c7d87ee64e3775e068b92074cffb9b70fbd (patch) | |
tree | 3f427a4b6d737bb0bfe6f798da06100e1324b0d8 /src/windows | |
parent | 23caafdfec968bf5d8acb341d95cdcffad18821b (diff) | |
download | rust-libc-723a2c7d87ee64e3775e068b92074cffb9b70fbd.tar.gz |
add wmemchr to all platforms support memchr
Diffstat (limited to 'src/windows')
-rw-r--r-- | src/windows/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/windows/mod.rs b/src/windows/mod.rs index f440489aa2..2fe1d01d78 100644 --- a/src/windows/mod.rs +++ b/src/windows/mod.rs @@ -378,6 +378,7 @@ extern "C" { ) -> ::size_t; pub fn memchr(cx: *const c_void, c: c_int, n: size_t) -> *mut c_void; + pub fn wmemchr(cx: *const wchar_t, c: wchar_t, n: size_t) -> *mut wchar_t; pub fn memcmp(cx: *const c_void, ct: *const c_void, n: size_t) -> c_int; pub fn memcpy( dest: *mut c_void, |