Skip to content

Commit

Permalink
Auto merge of #2270 - devnexen:apple_malloc_printf, r=Amanieu
Browse files Browse the repository at this point in the history
apple add malloc_printf
  • Loading branch information
bors committed Jul 4, 2021
2 parents e3148d9 + 2779244 commit 90aa0e3
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/apple.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1693,6 +1693,7 @@ mach_timebase_info
mach_timebase_info_data_t
madvise
malloc_default_zone
malloc_printf
malloc_statistics_t
malloc_zone_calloc
malloc_zone_check
Expand Down
1 change: 1 addition & 0 deletions src/unix/bsd/apple/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4115,6 +4115,7 @@ extern "C" {
pub fn memset_pattern16(b: *mut ::c_void, pattern16: *const ::c_void, len: ::size_t);

pub fn mstats() -> mstats;
pub fn malloc_printf(format: *const ::c_char, ...);
pub fn malloc_zone_check(zone: *mut ::malloc_zone_t) -> ::boolean_t;
pub fn malloc_zone_print(zone: *mut ::malloc_zone_t, verbose: ::boolean_t);
pub fn malloc_zone_statistics(zone: *mut ::malloc_zone_t, stats: *mut malloc_statistics_t);
Expand Down

0 comments on commit 90aa0e3

Please sign in to comment.