sdl2-sys 0.26.0

Raw SDL2 bindings for Rust, used internally rust-sdl2
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use libc::{c_int, int64_t};
use rwops::SDL_RWops;
use touch::SDL_TouchID;

pub type SDL_GestureID = int64_t;

extern "C" {
    pub fn SDL_RecordGesture(touchId: SDL_TouchID) -> c_int;
    pub fn SDL_SaveAllDollarTemplates(src: *mut SDL_RWops) -> c_int;
    pub fn SDL_SaveDollarTemplate(gestureId: SDL_GestureID, src: *mut SDL_RWops) -> c_int;
    pub fn SDL_LoadDollarTemplates(touchId: SDL_TouchID, src: *mut SDL_RWops) -> c_int;
}