alef 0.85.21

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
7
{% if is_async %}
        val handle = withContext(Dispatchers.IO) { {{ bridge_call }} }
        return {{ wrapper_type }}(handle)
{% else %}
        val handle = {{ bridge_call }}
        return {{ wrapper_type }}(handle)
{% endif %}