diff options
author | Daniel Mueller <deso@posteo.net> | 2019-11-01 07:45:35 -0700 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2019-11-01 07:45:35 -0700 |
commit | 9091de47826b82ce357c77090f35e3faaf22091a (patch) | |
tree | d6e55728a7136c809b5b284e61a27f38d6a079ab /cc/src/com.rs | |
parent | 49be10a8179165d24bbb8eb3490c4ca6f94b42c4 (diff) | |
download | nitrocli-9091de47826b82ce357c77090f35e3faaf22091a.tar.gz nitrocli-9091de47826b82ce357c77090f35e3faaf22091a.tar.bz2 |
Update cc crate to 1.0.48
This change updates the cc crate to version 1.0.48.
Import subrepo cc/:cc at be9f2c1ae05b336aa3d07a4cbefdc1d88a3d8a91
Diffstat (limited to 'cc/src/com.rs')
-rw-r--r-- | cc/src/com.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/cc/src/com.rs b/cc/src/com.rs index 9b75d47..a5f2afe 100644 --- a/cc/src/com.rs +++ b/cc/src/com.rs @@ -7,19 +7,19 @@ #![allow(unused)] +use crate::winapi::CoInitializeEx; +use crate::winapi::IUnknown; +use crate::winapi::Interface; +use crate::winapi::BSTR; +use crate::winapi::COINIT_MULTITHREADED; +use crate::winapi::{SysFreeString, SysStringLen}; +use crate::winapi::{HRESULT, S_FALSE, S_OK}; use std::ffi::{OsStr, OsString}; use std::mem::forget; use std::ops::Deref; use std::os::windows::ffi::{OsStrExt, OsStringExt}; use std::ptr::null_mut; use std::slice::from_raw_parts; -use winapi::CoInitializeEx; -use winapi::IUnknown; -use winapi::Interface; -use winapi::BSTR; -use winapi::COINIT_MULTITHREADED; -use winapi::{SysFreeString, SysStringLen}; -use winapi::{HRESULT, S_FALSE, S_OK}; pub fn initialize() -> Result<(), HRESULT> { let err = unsafe { CoInitializeEx(null_mut(), COINIT_MULTITHREADED) }; |