refact register_breakdown_handler

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-02-19 10:19:28 +08:00
parent c44843c96a
commit b733ad9379
19 changed files with 101 additions and 108 deletions

View File

@@ -1,7 +1,7 @@
use std::ptr;
use block::{Block, ConcreteBlock};
use libc::c_void;
use hbb_common::libc::c_void;
use std::sync::{Arc, Mutex};
use super::config::Config;

View File

@@ -1,6 +1,6 @@
use std::ptr;
use libc::c_void;
use hbb_common::libc::c_void;
use super::ffi::*;

View File

@@ -1,7 +1,7 @@
#![allow(dead_code)]
use block::RcBlock;
use libc::c_void;
use hbb_common::libc::c_void;
pub type CGDisplayStreamRef = *mut c_void;
pub type CFDictionaryRef = *mut c_void;