Skip to content

Commit 19eaa81

Browse files
committed
Auto merge of #3319 - uniboi:main, r=JohnTitor
Add `_msize` for Windows targets Creates a binding for `_msize` for windows targets
2 parents 618e2c2 + c0eb83e commit 19eaa81

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

libc-test/semver/windows.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ localtime_s
247247
lseek
248248
lseek64
249249
malloc
250+
_msize
250251
memchr
251252
memcmp
252253
memcpy

src/windows/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ extern "C" {
345345
pub fn strtoull(s: *const c_char, endp: *mut *mut c_char, base: c_int) -> c_ulonglong;
346346
pub fn calloc(nobj: size_t, size: size_t) -> *mut c_void;
347347
pub fn malloc(size: size_t) -> *mut c_void;
348+
pub fn _msize(p: *mut c_void) -> size_t;
348349
pub fn realloc(p: *mut c_void, size: size_t) -> *mut c_void;
349350
pub fn free(p: *mut c_void);
350351
pub fn abort() -> !;

0 commit comments

Comments
 (0)