Skip to content

Commit

Permalink
Remove unused binding (#1976)
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr committed Aug 22, 2022
1 parent 53bc4d7 commit 30f1ee3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
11 changes: 0 additions & 11 deletions crates/libs/windows/src/core/bindings.rs
Expand Up @@ -1363,17 +1363,6 @@ unsafe impl ::windows::core::Abi for HINSTANCE {
}
pub const S_OK: ::windows::core::HRESULT = ::windows::core::HRESULT(0i32);
#[inline]
pub unsafe fn SysAllocStringByteLen<'a, P0>(psz: P0, len: u32) -> BSTR
where
P0: ::std::convert::Into<::windows::core::PCSTR>,
{
#[cfg_attr(windows, link(name = "windows"))]
extern "system" {
fn SysAllocStringByteLen(psz: ::windows::core::PCSTR, len: u32) -> BSTR;
}
SysAllocStringByteLen(psz.into(), len)
}
#[inline]
pub unsafe fn SysAllocStringLen(strin: ::core::option::Option<&[u16]>) -> BSTR {
#[cfg_attr(windows, link(name = "windows"))]
extern "system" {
Expand Down
1 change: 0 additions & 1 deletion crates/tools/bindings/src/main.rs
Expand Up @@ -25,7 +25,6 @@ fn main() -> std::io::Result<()> {
"Windows.Win32.Foundation.HANDLE",
"Windows.Win32.Foundation.HINSTANCE",
"Windows.Win32.Foundation.S_OK",
"Windows.Win32.Foundation.SysAllocStringByteLen",
"Windows.Win32.Foundation.SysAllocStringLen",
"Windows.Win32.Foundation.SysFreeString",
"Windows.Win32.Foundation.SysStringLen",
Expand Down

0 comments on commit 30f1ee3

Please sign in to comment.