Create reorganization

This commit is contained in:
Pierre Krieger 2015-04-24 09:51:23 +02:00
parent c1af76550f
commit 3ad7f9a584
27 changed files with 42 additions and 15 deletions

19
src/api/x11/ffi.rs Normal file
View file

@ -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"));
}