Skip to content

Commit 4c0dc5d

Browse files
author
Andronik Ordian
committed
libmimalloc-sys: fixup merge
1 parent 32667f2 commit 4c0dc5d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

libmimalloc-sys/src/lib.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
use core::ffi::c_void;
44

55
extern "C" {
6-
pub fn mi_zalloc(size: usize) -> *const c_void;
7-
pub fn mi_malloc(size: usize) -> *const c_void;
8-
pub fn mi_realloc(p: *const c_void, size: usize) -> *const c_void;
9-
pub fn mi_zalloc_aligned(size: usize, alignment: usize) -> *const c_void;
10-
pub fn mi_malloc_aligned(size: usize, alignment: usize) -> *const c_void;
11-
pub fn mi_realloc_aligned(p: *const c_void, size: usize, alignment: usize) -> *const c_void;
12-
pub fn mi_free(p: *const c_void) -> c_void;
6+
pub fn mi_zalloc(size: usize) -> *mut c_void;
7+
pub fn mi_malloc(size: usize) -> *mut c_void;
8+
pub fn mi_realloc(p: *mut c_void, size: usize) -> *mut c_void;
9+
pub fn mi_zalloc_aligned(size: usize, alignment: usize) -> *mut c_void;
10+
pub fn mi_malloc_aligned(size: usize, alignment: usize) -> *mut c_void;
11+
pub fn mi_realloc_aligned(p: *mut c_void, size: usize, alignment: usize) -> *mut c_void;
12+
pub fn mi_free(p: *mut c_void) -> c_void;
1313
pub fn mi_usable_size(p: *mut c_void) -> usize;
1414
}
1515

0 commit comments

Comments
 (0)