1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
// dl_api // // Copyright (c) 2018 Jeron A. Lau // Copyright (c) 2017 Szymon Wieloch // Distributed under the MIT LICENSE (See accompanying file LICENSE.txt) //! `dl_api` is a library for dynamically loading API's from .dll/.so/.dylib //! files. It's based off of `rust-dlopen`. A lot of simplifications have //! been made. //! //! It's the easiest, simplest and safest way to load dynamic libraries! #[macro_use] extern crate lazy_static; #[cfg(unix)] extern crate libc; #[cfg(windows)] extern crate winapi; mod library; mod error; mod dl_api; #[doc(hidden)] pub use library::Library; // Use in dl_api only. pub use error::Error;