diff options
Diffstat (limited to 'src/api/x11/ffi.rs')
-rw-r--r-- | src/api/x11/ffi.rs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/api/x11/ffi.rs b/src/api/x11/ffi.rs new file mode 100644 index 0000000..2fcda3b --- /dev/null +++ b/src/api/x11/ffi.rs @@ -0,0 +1,19 @@ +#[cfg(feature="headless")] +pub use osmesa_sys::*; +pub use x11::keysym::*; +pub use x11::xcursor::*; +pub use x11::xf86vmode::*; +pub use x11::xlib::*; +pub use x11::xlib::xkb::*; + +pub use self::glx::types::GLXContext; + +/// GLX bindings +pub mod glx { + include!(concat!(env!("OUT_DIR"), "/glx_bindings.rs")); +} + +/// Functions that are not necessarly always available +pub mod glx_extra { + include!(concat!(env!("OUT_DIR"), "/glx_extra_bindings.rs")); +} |