Skip to content

Commit 9d73e9d

Browse files
authored
Fix is_shutdown_requested fn signature
1 parent 3615742 commit 9d73e9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rust/src/headless.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ pub fn shutdown() {
9999
unsafe { binaryninjacore_sys::BNShutdown() };
100100
}
101101

102-
pub fn is_shutdown_requested() {
103-
unsafe { binaryninjacore_sys::BNIsShutdownRequested() };
102+
pub fn is_shutdown_requested() -> bool {
103+
unsafe { binaryninjacore_sys::BNIsShutdownRequested() }
104104
}
105105

106106
/// Prelued-postlued helper function (calls [`init`] and [`shutdown`] for you)

0 commit comments

Comments
 (0)