fastdl 0.2.0

This repository is deprecated, Go to libfastdl instead
Documentation
  • Coverage
  • 0%
    0 out of 5 items documented0 out of 4 items with examples
  • Size
  • Source code size: 20.63 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 188.44 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • binkoni

libfastdl-rust

About

A libloading wrapper library that caches function pointer to hash table

Usage

let mut lib = super::Library::new("libdltest.so").unwrap();
unsafe {
    let test_fn = lib.get::<unsafe extern fn(i32) -> i32>("test").unwrap();
    assert!(test_fn(100) == 200);
}

License

Mozilla Public License 2.0