diff options
| author | Mason Reed <mason@vector35.com> | 2025-06-22 19:04:38 -0400 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2025-07-02 01:56:53 -0400 |
| commit | 8011e21a93f8e44e58da069c7444342d85f03b1f (patch) | |
| tree | ebce57f91c16334ead5dd4775d37b8cb5f63749d /rust/src/string.rs | |
| parent | 5bb44f2d127273980a0602c657fe47abb56ff039 (diff) | |
[Rust] Make `BnString::free_raw`
Needed this for the WARP FFI
Diffstat (limited to 'rust/src/string.rs')
| -rw-r--r-- | rust/src/string.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/string.rs b/rust/src/string.rs index 9092d163..c7d541ce 100644 --- a/rust/src/string.rs +++ b/rust/src/string.rs @@ -86,7 +86,7 @@ impl BnString { } /// Free a raw string allocated by [`BNAllocString`]. - pub(crate) unsafe fn free_raw(raw: *mut c_char) { + pub unsafe fn free_raw(raw: *mut c_char) { if !raw.is_null() { BNFreeString(raw); } |
