Skip to main content

dll_path

Function dll_path 

Source
pub unsafe fn dll_path(function: *mut c_void) -> Result<PathBuf, String>
Expand description

Attempts to find the path to the dynamic library containing a function.

SAFETY: function must be a valid pointer to some function.