object send+sync, probably a bad idea
Some checks failed
CI / Rust checks (push) Failing after 59s
Security / Audit (push) Successful in 24s

This commit is contained in:
2024-10-21 14:06:12 +02:00
parent 4088df3d5e
commit 6f1c647687
2 changed files with 7 additions and 4 deletions

View File

@@ -33,6 +33,9 @@ pub struct Object {
pub(crate) data_addr: *const u32,
}
unsafe impl Send for Object {}
unsafe impl Sync for Object {}
impl Object {
/// Try and transmute this SimConnect object as a `T` struct.
///