interoptopus 0.16.0

The polyglot bindings generator for your library (C#, C, Python, ...). 🐙
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error[E0080]: evaluation panicked: assertion failed: T::WIRE_SAFE
 --> src/wire/mod.rs
  |
  |         const { assert!(T::WIRE_SAFE) }
  |                 ^^^^^^^^^^^^^^^^^^^^^ evaluation of `interoptopus::wire::Wire::<interoptopus::ffi::Vec<u32>>::from::{constant#0}` failed here

note: erroneous constant encountered
   --> src/wire/mod.rs
    |
    |         const { assert!(T::WIRE_SAFE) }
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

note: the above error was encountered while instantiating `fn interoptopus::wire::Wire::<interoptopus::ffi::Vec<u32>>::from`
 --> tests/ui/wire/invalid.rs:8:13
  |
8 |     let _ = Wire::from(v);
  |             ^^^^^^^^^^^^^