rust-dlopen icon indicating copy to clipboard operation
rust-dlopen copied to clipboard

add support for lifetimes in functions

Open Freax13 opened this issue 3 years ago • 0 comments

This pr adds support for Iifetimes in functions.

Example:

#[derive(WrapperApi)]
struct Foo {
    bar: for<'a> unsafe extern "C" fn(player: &'a str) -> &'a str,
}

Freax13 avatar Apr 21 '21 17:04 Freax13