aboutsummaryrefslogtreecommitdiffhomepage
path: root/zluda
diff options
context:
space:
mode:
Diffstat (limited to 'zluda')
-rw-r--r--zluda/src/impl/os_unix.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/zluda/src/impl/os_unix.rs b/zluda/src/impl/os_unix.rs
index e11211d..67a27cc 100644
--- a/zluda/src/impl/os_unix.rs
+++ b/zluda/src/impl/os_unix.rs
@@ -1,13 +1,13 @@
use std::ptr;
-unsafe fn heap_create() -> *mut c_void {
+pub unsafe fn heap_create() -> *mut c_void {
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!()
}
-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!()
}