mirror of
https://github.com/xavo95/repak.git
synced 2025-01-18 10:54:38 +00:00
make decompress unsafe extern c
This commit is contained in:
parent
01515310e4
commit
564c4f6a45
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ pub use {error::*, pak::*};
|
||||||
pub const MAGIC: u32 = 0x5A6F12E1;
|
pub const MAGIC: u32 = 0x5A6F12E1;
|
||||||
|
|
||||||
#[cfg(feature = "oodle")]
|
#[cfg(feature = "oodle")]
|
||||||
pub type DECOMPRESS = fn(
|
pub type DECOMPRESS = unsafe extern "C" fn(
|
||||||
compBuf: *mut u8,
|
compBuf: *mut u8,
|
||||||
compBufSize: usize,
|
compBufSize: usize,
|
||||||
rawBuf: *mut u8,
|
rawBuf: *mut u8,
|
||||||
|
|
Loading…
Reference in a new issue