1
0

feat: finish bmap-rs ffi bindings

This commit is contained in:
2026-02-15 15:46:12 +08:00
parent 8e0c6f3793
commit a04a3a9b34
3 changed files with 1909 additions and 5 deletions

View File

@@ -10,5 +10,10 @@
/// # Return
///
/// True if no error, otherwise False.
pub unsafe fn {{ fct.fct_name }}() -> bool;
pub unsafe fn {{ fct.fct_name }}(
{%- for param in fct.fct_params -%}
{{ param.var_name }}: {{ utils.get_rust_type(param) }}
{%- if not loop.last %}, {% endif %}
{%- endfor -%}
) -> BMBOOL;
{%- endfor %}