Skip to content

Commit 1761606

Browse files
committed
add _msize for windows targets
1 parent 28ab9b9 commit 1761606

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)