alef 0.24.6

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

{% for line in doc_lines %}
{% if line %}
    /// {{ line }}
{% else %}
    ///
{% endif %}
{% endfor %}
    pub {{ name }}: Option<
        unsafe extern "C" fn(
{% for param in params %}
            {{ param.name }}: {{ param.c_type }}{% if not loop.last %},{% endif %}
{% endfor %}
        ) -> i32,
    >,