From 37ede463e06f4ac1aad0541f3e19b9797eb89bf7 Mon Sep 17 00:00:00 2001 From: Wim Pomp Date: Sun, 10 Aug 2025 18:33:19 +0200 Subject: [PATCH] - add getters to BitmapLockInfo --- Cargo.toml | 2 +- src/interop.rs | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) 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 {