We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
is_shutdown_requested
1 parent 3615742 commit 9d73e9dCopy full SHA for 9d73e9d
rust/src/headless.rs
@@ -99,8 +99,8 @@ pub fn shutdown() {
99
unsafe { binaryninjacore_sys::BNShutdown() };
100
}
101
102
-pub fn is_shutdown_requested() {
103
- unsafe { binaryninjacore_sys::BNIsShutdownRequested() };
+pub fn is_shutdown_requested() -> bool {
+ unsafe { binaryninjacore_sys::BNIsShutdownRequested() }
104
105
106
/// Prelued-postlued helper function (calls [`init`] and [`shutdown`] for you)
0 commit comments