mirror of
https://github.com/bspeice/aeron-rs
synced 2024-09-16 08:41:28 -04:00
14 lines
382 B
Rust
14 lines
382 B
Rust
//! Aeron client for Rust
|
|
#![deny(missing_docs)]
|
|
|
|
/// Retrieve the C library version in (major, minor, patch) format
|
|
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,
|
|
)
|
|
}
|
|
}
|