pub fn library() -> Result<&'static Library, impl Error>
Expand description

Get the underlying library handle. Can be used to extract symbols from the library.

Example

let symbol = library.get::<unsafe extern "C" fn(client: *mut jack_client_t) -> ::libc::c_int>(b"jack_release_timebase").unwrap();
let raw_symbol = symbol.into_raw();
let func = *raw_symbol.deref() as unsafe extern "C" fn(client: *mut jack_client_t) -> ::libc::c_int;