[−][src]Function clang_sys::load
pub fn load() -> Result<(), String>
Loads a libclang
shared library for use in the current thread.
This functions attempts to load all the functions in the shared library. Whether a
function has been loaded can be tested by calling the is_loaded
function on the
module with the same name as the function (e.g., clang_createIndex::is_loaded()
for
the clang_createIndex
function).
Failures
- a
libclang
shared library could not be found - the
libclang
shared library could not be opened