From 1c0deca9e48432092440e071a25e07364c538af8 Mon Sep 17 00:00:00 2001 From: Andrzej Janik Date: Sun, 27 Jun 2021 02:35:33 +0200 Subject: [PATCH] Add missing pub qualifier --- zluda/src/impl/os_unix.rs | 6 +++--- 1 file 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!() }