- add getters to BitmapLockInfo

This commit is contained in:
Wim Pomp
2025-08-10 18:33:19 +02:00
parent eebda907af
commit 37ede463e0
2 changed files with 9 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "libczirw-sys" name = "libczirw-sys"
version = "0.1.1" version = "0.1.2"
edition = "2024" edition = "2024"
rust-version = "1.85.1" rust-version = "1.85.1"
authors = ["Wim Pomp <w.pomp@nki.nl>"] authors = ["Wim Pomp <w.pomp@nki.nl>"]

View File

@@ -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 { impl SubBlockInfo {