Skip to content

Commit

Permalink
add thread broadcaster event bits definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
roccoblues committed Apr 17, 2024
1 parent 605e95d commit d751405
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/thread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,17 @@ impl<'e> SBThreadEvent<'e> {
pub fn frame(&self) -> Option<SBFrame> {
SBFrame::maybe_wrap(unsafe { sys::SBThreadGetStackFrameFromEvent(self.event.raw) })
}

#[allow(missing_docs)]
pub const BROADCAST_BIT_STACK_CHANGED: u32 = (1 << 0);
#[allow(missing_docs)]
pub const BROADCAST_BIT_THREAD_SUSPENDED: u32 = (1 << 1);
#[allow(missing_docs)]
pub const BROADCAST_BIT_THREAD_RESUMED: u32 = (1 << 2);
#[allow(missing_docs)]
pub const BROADCAST_BIT_SELECTED_FRAME_CHANGED: u32 = (1 << 3);
#[allow(missing_docs)]
pub const BROADCAST_BIT_THREAD_SELECTED: u32 = (1 << 4);
}

#[cfg(feature = "graphql")]
Expand Down

0 comments on commit d751405

Please sign in to comment.