()
| 159 | } |
| 160 | |
| 161 | pub(crate) unsafe fn get_err() -> String { |
| 162 | unsafe { |
| 163 | CStr::from_ptr(SDL_GetError()) |
| 164 | .to_string_lossy() |
| 165 | .into_owned() |
| 166 | } |
| 167 | } |
| 168 | |
| 169 | macro_rules! sdl_panic { |
| 170 | () => { |
nothing calls this directly
no test coverage detected