make decompress unsafe extern c

This commit is contained in:
spuds 2023-09-20 13:23:42 +01:00
parent 01515310e4
commit 564c4f6a45
No known key found for this signature in database
GPG key ID: 0B6CA6068E827C8F

View file

@ -10,7 +10,7 @@ pub use {error::*, pak::*};
pub const MAGIC: u32 = 0x5A6F12E1;
#[cfg(feature = "oodle")]
pub type DECOMPRESS = fn(
pub type DECOMPRESS = unsafe extern "C" fn(
compBuf: *mut u8,
compBufSize: usize,
rawBuf: *mut u8,