Replace size_t with usize in the API

This commit is contained in:
5ohue
2024-05-11 13:18:47 +03:00
parent 1914b95f7b
commit 02ae78eba8
3 changed files with 33 additions and 35 deletions

View File

@ -100,7 +100,7 @@ macro_rules! get {
($($get:ident, $c_get:ident, $typ:ty )*) => {
$(
pub fn $get(&self) -> $typ {
unsafe { ::bindings::$c_get(self.wand) }
unsafe { ::bindings::$c_get(self.wand).into() }
}
)*
}