Crates.io | oaidl |
lib.rs | oaidl |
version | 0.2.1 |
source | src |
created_at | 2018-10-08 20:58:58.950256 |
updated_at | 2018-10-21 16:39:17.981545 |
description | Crate to manage conversions to/from SAFEARRAY, VARIANT, and BSTR data structures in COM interop |
homepage | |
repository | https://github.com/ZerothLaw/oaidl-safe |
max_upload_size | |
id | 88770 |
size | 102,612 |
![Crates.io]![docs.rs(https://docs.rs/oaidl/badge.svg)]
A crate to convert common Rust types to common COM/OLE types, primarily for use
in FFI - BSTR
, SAFEARRAY
, and VARIANT
are the three implemented here.
This crate provides traits and trait implementations to make it easy and safe to convert between Rust types and the FFI-compatible data types.
For reference, a SAFEARRAY
of VARIANTs
corresponds to a C# object[]
. A
VARIANT
is considered an object
by C# interop.
This project is distributed under the terms of the MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be licensed as above, without any additional terms or conditions.