mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-04-20 00:14:45 +00:00
Add missing pub qualifier
This commit is contained in:
parent
23306e944b
commit
1c0deca9e4
1 changed files with 3 additions and 3 deletions
|
@ -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!()
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue