warnings: Fix and silence

This commit is contained in:
Dorota Czaplejewicz
2019-10-09 08:15:03 +00:00
parent da5a83f367
commit 10bad4ebe3
4 changed files with 5 additions and 6 deletions

View File

@ -253,6 +253,8 @@ pub mod c {
angle: i32
) -> u32;
// CKeyState is safe to pass to C as long as nothing dereferences it
#[allow(improper_ctypes)]
pub fn eek_keyboard_set_key_locked(
keyboard: *mut LevelKeyboard,
key: ::keyboard::c::CKeyState,