1
0
mirror of https://github.com/bspeice/aeron-rs synced 2024-11-14 03:58:08 -05:00
aeron-rs/src/lib.rs

9 lines
236 B
Rust

pub fn aeron_version() -> (u32, u32, u32) {
unsafe {(
aeron_driver_sys::aeron_version_major() as u32,
aeron_driver_sys::aeron_version_minor() as u32,
aeron_driver_sys::aeron_version_patch() as u32,
)}
}