summaryrefslogtreecommitdiffstats
path: root/third_party/rust/pulse-ffi/src/lib.rs
blob: 3264db62b7e4b84700c3622cd3b28545399d8fdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Required for dlopen, et al.
#[cfg(feature = "dlopen")]
extern crate libc;

mod ffi_funcs;
mod ffi_types;

pub use ffi_funcs::*;
pub use ffi_types::*;

#[cfg(feature = "dlopen")]
pub unsafe fn open() -> Option<LibLoader> {
    return LibLoader::open();
}