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 some dead Rust code #44814

Merged
merged 1 commit into from
Jul 31, 2024
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/srv/desktop/rdp/rdpclient/src/client/global.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
//! managed by Go).
//!
//! In practice this primarily means ensuring that any such global, static
//! structures that might be accessed directly by a call from go are [`Send`]
//! + [`Sync`] and thus are only mutated when locked. See [`assert_send_sync`]
//! structures that might be accessed directly by a call from go are `Send + Sync`
//! and thus are only mutated when locked. See `assert_send_sync`
//! below for an example of how this is enforced.

use super::ClientHandle;
Expand Down
13 changes: 0 additions & 13 deletions lib/srv/desktop/rdp/rdpclient/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -486,19 +486,6 @@ pub enum CGODisconnectCode {
DisconnectCodeServer = 2,
}

#[repr(C)]
pub struct CGOReadRdpOutputReturns {
user_message: *const c_char,
disconnect_code: CGODisconnectCode,
err_code: CGOErrCode,
}

#[repr(C)]
pub struct CGOClientOrError {
client: u64,
err: CGOErrCode,
}

/// CGOMousePointerEvent is a CGO-compatible version of PointerEvent that we pass back to Go.
/// PointerEvent is a mouse move or click update from the user.
#[repr(C)]
Expand Down
Loading