pub unsafe fn abi_header_from_raw_library(
    raw_library: &RawLibrary,
) -> Result<AbiHeaderRef, LibraryError> {
    let mangled = ROOT_MODULE_LOADER_NAME_WITH_NUL;
    let header: AbiHeaderRef = *raw_library.get::<AbiHeaderRef>(mangled.as_bytes())?;

    Ok(header)
}
/// Gets the AbiHeaderRef of a library.
///
/// # Errors
///
/// This will return these errors:
///
/// - `LibraryError::GetSymbolError`:
/// If the root module was not exported.
///
/// # Safety
///
/// The AbiHeaderRef is implicitly tied to the lifetime of the library,
/// it will contain dangling `'static` references if the library is dropped before it does.
///
///
Gets the AbiHeaderRef of a library.
Gets the AbiHeaderRef of a library .
pub unsafe fn abi_header_from_raw_library(
    raw_library: &RawLibrary,
) -> Result<AbiHeaderRef, LibraryError> {
    let mangled = ROOT_MODULE_LOADER_NAME_WITH_NUL;
    let header: AbiHeaderRef = *raw_library.get::<AbiHeaderRef>(mangled.as_bytes())?;
    Ok(header)
}
pub unsafe fn abi_header_from_raw_library ( raw_library : & RawLibrary , ) -> Result < AbiHeaderRef , LibraryError > { let mangled = ROOT_MODULE_LOADER_NAME_WITH_NUL ; let header : AbiHeaderRef = * raw_library . get :: < AbiHeaderRef > ( mangled . as_bytes ( ) ) ? ; Ok ( header ) }
Gets the AbiHeaderRef of a library.
Gets the AbiHeaderRef of a library .
raw_library
&RawLibrary
raw_library
&RawLibrary
errors
This will return these errors.

`LibraryError::GetSymbolError`:
If the root module was not exported.
This will return these errors . ` LibraryError :: GetSymbolError ` : If the root module was not exported .
safety
The AbiHeaderRef is implicitly tied to the lifetime of the library,
it will contain dangling `'static` references if the library is dropped before it does.
The AbiHeaderRef is implicitly tied to the lifetime of the library it will contain dangling ` ' static ` references if the library is dropped before it does .