diff options
author | Andrzej Janik <[email protected]> | 2021-06-27 02:35:33 +0200 |
---|---|---|
committer | Andrzej Janik <[email protected]> | 2021-06-27 02:35:33 +0200 |
commit | 1c0deca9e48432092440e071a25e07364c538af8 (patch) | |
tree | 786928029b3c78273802bfeec0b5e5d1586e9bd2 /zluda | |
parent | 23306e944bd520fdab084bdff4f914373d8dd8fc (diff) | |
download | ZLUDA-1c0deca9e48432092440e071a25e07364c538af8.tar.gz ZLUDA-1c0deca9e48432092440e071a25e07364c538af8.zip |
Add missing pub qualifier
Diffstat (limited to 'zluda')
-rw-r--r-- | zluda/src/impl/os_unix.rs | 6 |
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!()
}
|