abi-vtable-macro 0.3.1

Proc-macro generating #[repr(C)] C vtables (struct + thunks + static + getter) from Rust trait definitions, for the dyn-loader abi mode
Documentation
1
2
3
4
5
6
7
8
use abi_vtable_macro::abi_vtable;

#[abi_vtable(name = "bad")]
pub trait Bad {
    fn helper(x: i32) -> i32 { x }
}

fn main() {}