Skip to content

Commit

Permalink
make 'Session' clonable
Browse files Browse the repository at this point in the history
  • Loading branch information
ssrlive committed Sep 2, 2024
1 parent 91d2281 commit fcf4344
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ use windows_sys::Win32::{
};

/// Wrapper around a <https://git.zx2c4.com/wintun/about/#wintun_session_handle>
#[derive(Clone)]
pub struct Session {
/// The session handle given to us by WintunStartSession
pub(crate) session: UnsafeHandle<wintun_raw::WINTUN_SESSION_HANDLE>,
Expand Down

0 comments on commit fcf4344

Please sign in to comment.