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

9 lines
236 B
Rust
Raw Normal View History

2019-09-19 22:24:35 -04:00
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,
)}
2019-09-19 18:45:21 -04:00
}