raylib_sys/
lib.rs

1#![allow(non_upper_case_globals)]
2#![allow(non_camel_case_types)]
3#![allow(non_snake_case)]
4#![allow(clippy::approx_constant)]
5
6#[cfg(feature = "bindgen")]
7include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
8
9#[cfg(not(feature = "bindgen"))]
10include!(env!("RAYLIB_BINDGEN_LOCATION"));
11
12#[cfg(target_os = "macos")]
13pub const MAX_MATERIAL_MAPS: u32 = 12;
14
15impl Default for TraceLogLevel {
16    fn default() -> Self {
17        TraceLogLevel::LOG_INFO
18    }
19}