-
Notifications
You must be signed in to change notification settings - Fork 759
Open
Description
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;
}
eerhardt, WilliamVenner, adamaq01 and Chaoses-Ib
Metadata
Metadata
Assignees
Labels
No labels