MCPcopy Create free account
hub / github.com/17cupsofcoffee/nova / get_err

Function get_err

src/window.rs:161–167  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

159}
160
161pub(crate) unsafe fn get_err() -> String {
162 unsafe {
163 CStr::from_ptr(SDL_GetError())
164 .to_string_lossy()
165 .into_owned()
166 }
167}
168
169macro_rules! sdl_panic {
170 () => {

Callers

nothing calls this directly

Calls 1

into_ownedMethod · 0.80

Tested by

no test coverage detected