MSGetImageByName

Function MSGetImageByName 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn MSGetImageByName( _file: *const c_char, ) -> MSImageRef
Expand description

Get a reference to a loaded image (library) by filename.

§Arguments

  • _file - C string containing the library filename

§Returns

Reference to the loaded image if found, null otherwise.

§Safety

The _file parameter must be a valid null-terminated C string.