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
16
17
use std::os::raw::c_int;
use viable::vtable;

#[vtable]
pub(crate) struct Bar { }

mod foo {
	use super::{vtable, c_int};

	#[vtable]
	pub struct Qux {
		pub internal: c_int,
		pub br: extern "C" fn(),
	}
}

pub fn main() {}