[go: up one dir, main page]

sdl2-sys 0.0.33

Raw SDL2 bindings for Rust, used internally rust-sdl2
1
2
3
4
5
6
7
8
9
use libc::{c_int, c_char};

pub type SDL_bool = c_int;

extern "C" {
    pub fn SDL_SetClipboardText(text: *const c_char) -> c_int;
    pub fn SDL_GetClipboardText() -> *const c_char;
    pub fn SDL_HasClipboardText() -> SDL_bool;
}