blob: e11211da2148779eb9ec0dba5582ebeb31e00905 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
use std::ptr;
unsafe fn heap_create() -> *mut c_void {
ptr::null_mut()
}
unsafe fn heap_alloc(heap: *mut c_void, bytes: usize) -> *mut c_void {
todo!()
}
unsafe fn heap_free(heap: *mut c_void, alloc: *mut c_void) {
todo!()
}
|