Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused binding #1976

Merged
merged 1 commit into from Aug 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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