Closed ohadravid closed 2 months ago
Safety:
safearray
SafeArrayAccessor::new
safe_array_to_vec{_of_strings}
unsafe
SafeArrayAccessor
Other changes:
Variant::from_variant
windows-rs
VARIANT::to_string
Safety:
safearray
: NowSafeArrayAccessor::new
andsafe_array_to_vec{_of_strings}
areunsafe
, as it is the caller's responsibility to pass valid arrays.SafeArrayAccessor
now exposes an iterator over the array (and not a slice), based on the data pointer+element count (vs the lower/upper bounds)Other changes:
Variant::from_variant
will now usewindows-rs
'sVARIANT::to_string