Function clang_sys::set_library

source ·
pub fn set_library(
    library: Option<Arc<SharedLibrary>>
) -> Option<Arc<SharedLibrary>>
Expand description

Sets the library instance stored in TLS and returns the previous library.

This functions allows for sharing library instances between threads.