Vendor dependencies for 0.3.0 release

This commit is contained in:
2025-09-27 10:29:08 -05:00
parent 0c8d39d483
commit 82ab7f317b
26803 changed files with 16134934 additions and 0 deletions

36
vendor/oboe/src/version.rs vendored Normal file
View File

@@ -0,0 +1,36 @@
use oboe_sys as ffi;
use std::str::from_utf8_unchecked;
/**
* The version info
*/
pub struct Version;
impl Version {
/**
* The major version number
*/
pub const MAJOR: u8 = ffi::oboe_Version_Major;
/**
* The minor version number
*/
pub const MINOR: u8 = ffi::oboe_Version_Minor;
/**
* The patch version number
*/
pub const PATCH: u16 = ffi::oboe_Version_Patch;
/**
* The version as 32-bit number
*/
pub const NUMBER: u32 = ffi::oboe_Version_Number;
/**
* The version as text
*/
pub fn text() -> &'static str {
unsafe { from_utf8_unchecked(ffi::oboe_Version_Text.as_ref()) }
}
}