Skip to content

A libloading wrapper library that caches function pointer to hash table

License

Notifications You must be signed in to change notification settings

binkoni/libfastdl-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A libloading wrapper library that caches function pointer to hash table

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages