mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-08-03 22:59:58 +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;
|
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!()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue