Open tbu- opened 1 month ago
Currently, the following is generated:
extern "C" { #[doc = "[…]"] pub fn wmem_alloc(allocator: *mut wmem_allocator_t, size: usize) -> *mut ::std::os::raw::c_void; }
I'd like to have an extra attribute there, for compilation to Windows:
#[cfg_attr(windows, link(name = "libwsutil.dll", kind = "raw-dylib"))] extern "C" { #[doc = "[…]"] pub fn wmem_alloc(allocator: *mut wmem_allocator_t, size: usize) -> *mut ::std::os::raw::c_void; }
Currently, the following is generated:
I'd like to have an extra attribute there, for compilation to Windows: