Replace size_t with usize in the API
This commit is contained in:
@ -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() }
|
||||
}
|
||||
)*
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user