viable-impl 0.2.1

Interop with C++ MSVC VTables through Rust! If this hasn't been used for a while, you can message me for the name.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use std::os::raw::c_int;
use viable::vtable;

// Just test syntax

#[vtable]
struct Foo {
	internal: c_int,

	add: extern "C" fn(a: c_int, b: c_int) -> c_int,
	#[offset(1)] // Completely optional
	add2: extern "C" fn(a: c_int, b: c_int) -> c_int,
}

pub fn main() {}