all: mark extern blocks as unsafe
This commit is contained in:
parent
0cbaf4493e
commit
448b9e332e
6 changed files with 10 additions and 10 deletions
|
|
@ -34,7 +34,7 @@ pub struct libinput_tablet_tool(u8);
|
|||
pub struct libinput_event_touch(u8);
|
||||
|
||||
#[link(name = "input")]
|
||||
extern "C" {
|
||||
unsafe extern "C" {
|
||||
pub fn libinput_log_set_handler(libinput: *mut libinput, log_handler: libinput_log_handler);
|
||||
pub fn libinput_log_set_priority(libinput: *mut libinput, priority: libinput_log_priority);
|
||||
pub fn libinput_path_create_context(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue