#libloading #deprecated #repository #go #pointers #cache #libfastdl

fastdl

This repository is deprecated, Go to libfastdl instead

2 unstable releases

Uses old Rust 2015

0.2.0 May 22, 2018
0.1.0 Mar 28, 2018

#6 in #libloading

MPL-2.0 license

7KB
53 lines

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

Dependencies

~91–425KB