#![doc = include_str!("../README.md")]
pub use sys::*;
#[cfg(not(feature = "bindgen"))]
mod sys {
mod manual;
mod pregenerated;
#[allow(
unused_imports,
reason = "on emscripten target, this module will be empty"
)]
pub use self::manual::*;
pub use self::pregenerated::*;
}
#[cfg(feature = "bindgen")]
mod sys {
#![allow(
unused,
non_upper_case_globals,
non_camel_case_types,
non_snake_case,
improper_ctypes,
rustdoc::invalid_codeblock_attributes,
rustdoc::invalid_rust_codeblocks,
rustdoc::broken_intra_doc_links,
reason = "
This is a bindgen generated file from C headers and can't be fixed manually.
It contains all sorts of code (and other blocks). The [] link syntax is used for
@param[in] arg syntax, so links are also broken.
"
)]
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
}
#[allow(unused)]
const GLFW_HEADER: &str = include_str!("../glfw/include/GLFW/glfw3.h");