Add missing pub qualifier

This commit is contained in:
Andrzej Janik 2021-06-27 02:35:33 +02:00
commit 1c0deca9e4

View file

@ -1,13 +1,13 @@
use std::ptr; use std::ptr;
unsafe fn heap_create() -> *mut c_void { pub unsafe fn heap_create() -> *mut c_void {
ptr::null_mut() ptr::null_mut()
} }
unsafe fn heap_alloc(heap: *mut c_void, bytes: usize) -> *mut c_void { pub unsafe fn heap_alloc(heap: *mut c_void, bytes: usize) -> *mut c_void {
todo!() todo!()
} }
unsafe fn heap_free(heap: *mut c_void, alloc: *mut c_void) { pub unsafe fn heap_free(heap: *mut c_void, alloc: *mut c_void) {
todo!() todo!()
} }