diff options
Diffstat (limited to 'rust/src')
| -rw-r--r-- | rust/src/typelibrary.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/typelibrary.rs b/rust/src/typelibrary.rs index ce0fe6f8..a0992e18 100644 --- a/rust/src/typelibrary.rs +++ b/rust/src/typelibrary.rs @@ -77,7 +77,7 @@ impl TypeLibrary { } /// Saves a finalized type library instance to file - pub fn write_to_file<S: BnStrCompatible>(&self, path: S) { + pub fn write_to_file<S: BnStrCompatible>(&self, path: S) -> bool { let path = path.into_bytes_with_nul(); unsafe { BNWriteTypeLibraryToFile(self.as_raw(), path.as_ref().as_ptr() as *const ffi::c_char) |
