sdl2_sys/lib.rs
1//!
2//! This crate was mainly generated by [`bindgen`](https://crates.io/crates/bindgen). It should be enough in most cases,
3//! but if you ever find discrepancies between what bindgen generated and your OS, you can always
4//! [generate your own `sdl2-sys`](https://github.com/rust-sdl2/rust-sdl2#generating-sdl2-sys-with-bindgen).
5//!
6
7#![allow(non_upper_case_globals)]
8#![allow(non_camel_case_types)]
9#![allow(non_snake_case)]
10// suppress warnings about u128 (that we don't even use ourselves anyway)
11#![allow(improper_ctypes)]
12#![no_std]
13
14include!(concat!(env!("OUT_DIR"), "/sdl_bindings.rs"));
15
16#[cfg(feature = "mixer")]
17pub mod mixer;
18
19#[cfg(feature = "image")]
20pub mod image;
21
22#[cfg(feature = "ttf")]
23pub mod ttf;
24
25#[cfg(feature = "gfx")]
26pub mod gfx;