alef 0.25.37

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
let visitor_handle = {{ options_name }}.as_ref().and_then(|o| o.visitor.clone()).and_then(|v| {
    {{ struct_name }}::new(v).ok().map(|bridge| {
        std::sync::Arc::new(std::sync::Mutex::new(bridge)) as {{ handle_path }}
    })
});