ctest 0.5.1

Automated testing of FFI bindings in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
macro_rules! vector {
    ($name:ident, $ty:ty) => {
        #[repr(C)]
        struct $name {
            pub x: $ty,
            pub y: $ty,
        }
    };
}

vector!(VecU8, u8);
vector!(VecU16, u16);