(raw: RetReg<R0>)
| 907 | /// always returns `()`. |
| 908 | #[inline] |
| 909 | pub(super) unsafe fn ret_infallible(raw: RetReg<R0>) { |
| 910 | #[cfg(debug_assertions)] |
| 911 | { |
| 912 | try_decode_void(raw).unwrap() |
| 913 | } |
| 914 | #[cfg(not(debug_assertions))] |
| 915 | drop(raw); |
| 916 | } |
| 917 | |
| 918 | /// Convert a `usize` returned from a syscall that effectively returns a |
| 919 | /// `c_int` on success. |
no test coverage detected