Skip to content

Commit

Permalink
Auto merge of #3319 - uniboi:main, r=JohnTitor
Browse files Browse the repository at this point in the history
Add `_msize` for Windows targets

Creates a binding for `_msize` for windows targets
  • Loading branch information
bors committed Aug 15, 2023
2 parents 618e2c2 + c0eb83e commit 19eaa81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions libc-test/semver/windows.txt
Expand Up @@ -247,6 +247,7 @@ localtime_s
lseek
lseek64
malloc
_msize
memchr
memcmp
memcpy
Expand Down
1 change: 1 addition & 0 deletions src/windows/mod.rs
Expand Up @@ -345,6 +345,7 @@ extern "C" {
pub fn strtoull(s: *const c_char, endp: *mut *mut c_char, base: c_int) -> c_ulonglong;
pub fn calloc(nobj: size_t, size: size_t) -> *mut c_void;
pub fn malloc(size: size_t) -> *mut c_void;
pub fn _msize(p: *mut c_void) -> size_t;
pub fn realloc(p: *mut c_void, size: size_t) -> *mut c_void;
pub fn free(p: *mut c_void);
pub fn abort() -> !;
Expand Down

0 comments on commit 19eaa81

Please sign in to comment.