alef 0.82.0

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
int32_t {{ result_var }} = {{ function_name }}({{ args }});
{% if expects_error %}
assert({{ result_var }} != 0 && "expected call to fail");
{% else %}
assert({{ result_var }} == 0 && "expected call to succeed");
{% endif %}