Skip to main content

siglus_game_cover_mime_from_dir

Function siglus_game_cover_mime_from_dir 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn siglus_game_cover_mime_from_dir( game_root_utf8: *const c_char, ) -> *mut c_char
Expand description

Return the game cover MIME type, or null if no cover is available. Free a non-null result with siglus_string_free.

ยงSafety

If non-null, game_root_utf8 must point to a NUL-terminated string in a single readable allocation of at most isize::MAX bytes, including the terminator. The bytes must remain valid and unchanged for this call.