pub mod external;
pub mod interface;
pub mod manager;
#[cfg(test)]
mod test {
use crate::rrplug;
use rrplug_proc::as_interface;
#[allow(dead_code)]
#[repr(C)]
struct TestInterface {
the_line: &'static str,
}
#[as_interface]
#[allow(improper_ctypes_definitions)]
impl TestInterface {
fn new() -> Self {
Self { the_line: "line" }
}
pub const fn get_line(&self) -> &'static str {
self.the_line
}
}
}