graphics_bindgen/lib.rs
1//! Shared, build-only LVGL guest ABI discovery.
2
3pub mod abi;
4pub mod additional;
5mod catalog;
6pub mod context;
7pub mod enumeration;
8pub mod executor;
9pub mod function;
10pub mod guest;
11pub mod guest_constants;
12pub mod naming;
13pub mod registry;
14
15pub use catalog::{Call, CallCatalog, GeneratorError};
16pub const MAX_ARGUMENTS: usize = 7;
17
18/// The Xila event contract shared by guests and the executor, as Rust source.
19/// `xila-graphics` compiles this file as the host's `event_code` module and
20/// guest bindings include the same text, so the two cannot drift.
21pub const EVENT_CODE_SOURCE: &str = include_str!("event_code.rs");