Skip to content

Commit 90aa0e3

Browse files
committed
Auto merge of #2270 - devnexen:apple_malloc_printf, r=Amanieu
apple add malloc_printf
2 parents e3148d9 + 2779244 commit 90aa0e3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

libc-test/semver/apple.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1693,6 +1693,7 @@ mach_timebase_info
16931693
mach_timebase_info_data_t
16941694
madvise
16951695
malloc_default_zone
1696+
malloc_printf
16961697
malloc_statistics_t
16971698
malloc_zone_calloc
16981699
malloc_zone_check

src/unix/bsd/apple/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4115,6 +4115,7 @@ extern "C" {
41154115
pub fn memset_pattern16(b: *mut ::c_void, pattern16: *const ::c_void, len: ::size_t);
41164116

41174117
pub fn mstats() -> mstats;
4118+
pub fn malloc_printf(format: *const ::c_char, ...);
41184119
pub fn malloc_zone_check(zone: *mut ::malloc_zone_t) -> ::boolean_t;
41194120
pub fn malloc_zone_print(zone: *mut ::malloc_zone_t, verbose: ::boolean_t);
41204121
pub fn malloc_zone_statistics(zone: *mut ::malloc_zone_t, stats: *mut malloc_statistics_t);

0 commit comments

Comments
 (0)