Skip to main content

Module lifetime_param

Module lifetime_param 

Source
Expand description

MXL112: explicit lifetime parameter on #[miniextendr] function or impl block.

The C wrapper generated by the proc-macro is #[no_mangle] extern "C-unwind", which is incompatible with any generic parameter — including lifetimes. &[T] and &str arguments work without explicit lifetime annotations because the macro handles them internally via TryFromSexp.

Functions§

check