mirror of
https://github.com/xavo95/repak.git
synced 2025-01-18 10:54:38 +00:00
Add transmute annotations
This commit is contained in:
parent
56a36e553e
commit
87149fcb0d
1 changed files with 3 additions and 2 deletions
|
@ -398,7 +398,8 @@ mod linux_oodle {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Break things!
|
Ok(unsafe {
|
||||||
Ok(unsafe { std::mem::transmute(exports["OodleLZ_Decompress"]) })
|
std::mem::transmute::<*const c_void, OodleLZ_Decompress>(exports["OodleLZ_Decompress"])
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue