Skip to content

Commit b906c3d

Browse files
author
Nathan Ricci
committed
Exposed malloc_size on mac
1 parent d696739 commit b906c3d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/unix/bsd/apple/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5789,6 +5789,8 @@ extern "C" {
57895789
attrBufSize: ::size_t,
57905790
options: u64,
57915791
) -> ::c_int;
5792+
5793+
pub fn malloc_size(ptr: *const ::c_void) -> ::size_t;
57925794
}
57935795

57945796
pub unsafe fn mach_task_self() -> ::mach_port_t {

0 commit comments

Comments
 (0)