Created
February 26, 2021 00:43
-
-
Save agrif/7f058f10149466b41b120df17c6689c6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let mut fileio = sf::SF_VIRTUAL_IO { | |
get_filelen: Self::vio_get_filelen, | |
seek: Self::vio_seek, | |
read: Self::vio_read, | |
//write: unsafe { std::mem::transmute(std::ptr::null::<libc::c_void>()) }, | |
write: Self::vio_write, | |
tell: Self::vio_tell, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment