This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zhangyang-zerotierone/zeroidc/vendor/cbindgen/tests/rust/monomorph_2.rs

16 lines
196 B
Rust

#[repr(C)]
struct List<T> {
members: *mut T,
count: usize
}
struct A;
struct B;
#[no_mangle]
pub extern "C" fn foo(a: List<A>) { }
#[no_mangle]
pub extern "C" fn bar(b: List<B>) { }