diff --git a/Cargo.toml b/Cargo.toml index 3e49773..1324604 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libczirw-sys" -version = "0.1.1" +version = "0.1.2" edition = "2024" rust-version = "1.85.1" authors = ["Wim Pomp "] diff --git a/src/interop.rs b/src/interop.rs index c7f09e4..ade4c2c 100644 --- a/src/interop.rs +++ b/src/interop.rs @@ -555,6 +555,14 @@ impl BitmapLockInfo { ) } } + + pub fn get_stride(&self) -> u32 { + self.0.stride + } + + pub fn get_size(&self) -> u64 { + self.0.size + } } impl SubBlockInfo {