зеркало из https://github.com/mozilla/gecko-dev.git
28 строки
1.1 KiB
Markdown
28 строки
1.1 KiB
Markdown
|
# libloading [![Travis CI][tcii]][tci] [![Appveyor CI][acii]][aci]
|
||
|
|
||
|
[tcii]: https://travis-ci.org/nagisa/rust_libloading.svg?branch=master
|
||
|
[tci]: https://travis-ci.org/nagisa/rust_libloading
|
||
|
[acii]: https://ci.appveyor.com/api/projects/status/cnncnu58qcxb1ikf/branch/master?svg=true
|
||
|
[aci]: https://ci.appveyor.com/project/nagisa/rust-libloading
|
||
|
|
||
|
A memory-safer wrapper around system dynamic library loading primitives. The most important safety
|
||
|
guarantee by this library is prevention of dangling-`Symbol`s that may occur after a `Library` is
|
||
|
unloaded.
|
||
|
|
||
|
Using this library allows loading dynamic libraries (also known as shared libraries) as well as use
|
||
|
functions and static variables these libraries contain.
|
||
|
|
||
|
* [Documentation][docs]
|
||
|
* [Changelog][changelog]
|
||
|
|
||
|
[docs]: https://docs.rs/libloading/
|
||
|
[changelog]: https://docs.rs/libloading/*/libloading/changelog/index.html
|
||
|
|
||
|
libloading is distributed under ISC (MIT-like) license.
|
||
|
|
||
|
---
|
||
|
|
||
|
Note, that this library is not a drop-in replacement for the deprecated `dynamic_lib`. Many
|
||
|
dubious APIs (notably, library search path modification) were prunned and string arguments
|
||
|
take types that match conventions and system APIs better.
|