reverted unfinished commit

This commit is contained in:
Dominik Maier
2021-11-10 04:21:30 +01:00
parent a231440cf8
commit 7873e60740
2 changed files with 13 additions and 12 deletions

View File

@@ -80,12 +80,12 @@ extern "C" {
pub struct UcHook<'a, D: 'a, F: 'a> {
pub callback: F,
pub uc: Unicorn,
pub uc: Unicorn<'a, D>,
}
pub trait IsUcHook {}
pub trait IsUcHook<'a> {}
impl<'a, D, F> IsUcHook for UcHook<'a, D, F> {}
impl<'a, D, F> IsUcHook<'a> for UcHook<'a, D, F> {}
pub extern "C" fn code_hook_proxy<D, F>(
uc: uc_handle,