alef 0.25.0

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
{% if doc_first %}  @doc "{{ doc_first }}"
{% endif %}  def {{ method_name }}({{ def_args }}) do
{% if returns_self %}    ref = Native.{{ nif_fn }}({{ call_args }})
    %__MODULE__{ref: ref}
{% else %}    Native.{{ nif_fn }}({{ call_args }})
{% endif %}  end