1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
//! Rust transpilation of the `xproto` library.
//!
//! This library exposes types and values required
//! to communicate with, or as, an X11 server.
//!
//! The C [`xproto` library](https://cgit.freedesktop.org/xorg/proto/xproto/tree)
//! does not contain any logic - only datastructures and constants.
//!
//! This means the library does not contain any C code or link to
//! any non-Rust object files.
// Allow C style.
#![allow(non_snake_case)]
#![allow(non_camel_case_types)]
#![allow(non_upper_case_globals)]
#[macro_use]
extern crate protocol_derive;
extern crate protocol;
mod bindings;
#[cfg(test)] mod tests;
pub use self::bindings::*;