diff options
Diffstat (limited to 'rust/src')
| -rw-r--r-- | rust/src/headless.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/src/headless.rs b/rust/src/headless.rs index fdde2608..1de41aec 100644 --- a/rust/src/headless.rs +++ b/rust/src/headless.rs @@ -99,8 +99,8 @@ pub fn shutdown() { unsafe { binaryninjacore_sys::BNShutdown() }; } -pub fn is_shutdown_requested() { - unsafe { binaryninjacore_sys::BNIsShutdownRequested() }; +pub fn is_shutdown_requested() -> bool { + unsafe { binaryninjacore_sys::BNIsShutdownRequested() } } /// Prelued-postlued helper function (calls [`init`] and [`shutdown`] for you) |
