diff options
| author | mason <35282038+emesare@users.noreply.github.com> | 2024-07-28 13:24:18 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-28 13:24:18 -0400 |
| commit | 9d73e9d7930f20339f9582e55544f0af7aeadd23 (patch) | |
| tree | 38b287cac3731612be283ad0b4060e059b80bc27 /rust/src | |
| parent | 361574240fff979a76adaccaf9809f21a1f6ab12 (diff) | |
Fix `is_shutdown_requested` fn signature
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) |
