1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
pub use crate::{rwops::*, touch::*};
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[repr(transparent)]
pub struct SDL_GestureID(pub Sint64);
extern "C" {
pub fn SDL_RecordGesture(touchId: SDL_TouchID) -> c_int;
pub fn SDL_SaveAllDollarTemplates(dst: *mut SDL_RWops) -> c_int;
pub fn SDL_SaveDollarTemplate(
gestureId: SDL_GestureID, dst: *mut SDL_RWops,
) -> c_int;
pub fn SDL_LoadDollarTemplates(
touchId: SDL_TouchID, src: *mut SDL_RWops,
) -> c_int;
}