diversion 0.1.0

Ergonomic function hooks for Windows and Linux
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[cfg(feature = "bare_hrtb")]
pub use closure_ffi::bare_hrtb;

pub mod error;
pub mod hook;
pub mod installer;

pub use error::Error;

/// The result type returned by functions in this crate.
pub type Result<T> = std::result::Result<T, Error>;

#[cfg(feature = "installer")]
pub use installer::arch::{
    hook, hook_mut, hook_once, install, scope, static_hook, static_hook_mut, static_hook_once,
};