Closed Kyuuhachi closed 11 months ago
I actually noticed this bug while working on the c_variadics issue. https://github.com/Hpmason/retour-rs/blob/8dca3f2aa0ff3e4da486a6099e2c61e2c1c47c1b/src/macros.rs#L39-L41
I'm pretty sure I just need to replace all static_detour!(...)
with $crate::static_detour!(...)
. I'll put in a fix shortly
I just pushed v0.3.1 to crates.io, so you should be able to use that now.
You have to
use retour::static_detour;
, you can't just doretour::static_detour! {}
.