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,6 +1,6 @@
use std::{io, ptr, slice};
use libc;
use hbb_common::libc;
use super::ffi::*;
use super::Display;

View File

@@ -1,6 +1,6 @@
#![allow(non_camel_case_types)]
use libc::c_void;
use hbb_common::libc::c_void;
#[link(name = "xcb")]
#[link(name = "xcb-shm")]

View File

@@ -1,7 +1,7 @@
use std::ptr;
use std::rc::Rc;
use libc;
use hbb_common::libc;
use super::ffi::*;
use super::{Display, Rect, Server};