зеркало из https://github.com/microsoft/com-rs.git
Add usize as AbiTransferable
This commit adds usize to primitive_transferable_type macro so that it is AbiTransferable. There are a number of pointer types that are aliases of usize, since their size is dependent on processor word size e.g. UINT_PTR.
This commit is contained in:
Родитель
b6e59c242e
Коммит
ac06d6653d
|
@ -13,3 +13,5 @@ Cargo.lock
|
|||
.DS_Store
|
||||
|
||||
.vscode
|
||||
|
||||
.idea
|
||||
|
|
|
@ -77,6 +77,7 @@ primitive_transferable_type! {
|
|||
u64,
|
||||
f32,
|
||||
f64,
|
||||
usize,
|
||||
crate::sys::GUID
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче