Lines Matching refs:raw
13 use std::os::raw;
77 handle: *mut raw::c_void
166 pub unsafe fn open<P>(filename: Option<P>, flags: raw::c_int) -> Result<Library, crate::Error>
192 ensure_compatible_types::<T, *mut raw::c_void>()?;
293 /// Convert the `Library` to a raw handle.
297 pub fn into_raw(self) -> *mut raw::c_void {
303 /// Convert a raw handle returned by `dlopen`-family of calls to a `Library`.
310 pub unsafe fn from_raw(handle: *mut raw::c_void) -> Library {
361 pointer: *mut raw::c_void,
366 /// Convert the loaded `Symbol` into a raw pointer.
367 pub fn into_raw(self) -> *mut raw::c_void {
431 fn dlopen(filename: *const raw::c_char, flags: raw::c_int) -> *mut raw::c_void;
432 fn dlclose(handle: *mut raw::c_void) -> raw::c_int;
433 fn dlsym(handle: *mut raw::c_void, symbol: *const raw::c_char) -> *mut raw::c_void;
434 fn dlerror() -> *mut raw::c_char;
435 fn dladdr(addr: *mut raw::c_void, info: *mut DlInfo) -> raw::c_int;
440 dli_fname: *const raw::c_char,
441 dli_fbase: *mut raw::c_void,
442 dli_sname: *const raw::c_char,
443 dli_saddr: *mut raw::c_void