alef 0.25.17

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
{%- if doc_comment %}
{{ doc_comment }}
{% endif -%}
#[unsafe(no_mangle)]
pub unsafe extern "C" fn {{ fn_name }}(
    client: *const {{ qualified }},
    request_json: *const std::ffi::c_char,
    callback: {{ callback_type }},
    user_data: *mut std::ffi::c_void,
) -> i32 {
{{ body_indented }}
}