//! [`EventCSInvalidated`]

use endpoint_sec_sys::es_event_cs_invalidated_t;

/// Code signing status for process was invalidated event.
#[doc(alias = "es_event_cs_invalidated_t")]
pub struct EventCSInvalidated<'a> {
    /// Raw event
    #[allow(dead_code)]
    pub(crate) raw: &'a es_event_cs_invalidated_t,
}

// Safety: safe to send across threads: does not contain any interior mutability nor depend on current thread state
unsafe impl Send for EventCSInvalidated<'_> {}
// Safety: safe to share across threads: does not contain any interior mutability nor depend on current thread state
unsafe impl Sync for EventCSInvalidated<'_> {}

impl_debug_eq_hash_with_functions!(EventCSInvalidated<'a>;);
