summaryrefslogtreecommitdiff
path: root/rust/src/platform.rs
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-01-31 13:11:41 -0500
committerMason Reed <mason@vector35.com>2025-07-02 01:56:53 -0400
commitf8aaf21991c2a5adcdca56f3638f321b2ccbe809 (patch)
tree12f9b3c164e6d71cd26fc97c11f160fc0363ed6b /rust/src/platform.rs
parent4889870837219897480070354656984723887637 (diff)
[Rust] Make some core handles public
This is a requirement if we want rust plugins to expose sane FFIs
Diffstat (limited to 'rust/src/platform.rs')
-rw-r--r--rust/src/platform.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/platform.rs b/rust/src/platform.rs
index 1bbdef4e..609f4edc 100644
--- a/rust/src/platform.rs
+++ b/rust/src/platform.rs
@@ -72,7 +72,7 @@ macro_rules! cc_func {
}
impl Platform {
- pub(crate) unsafe fn from_raw(handle: *mut BNPlatform) -> Self {
+ pub unsafe fn from_raw(handle: *mut BNPlatform) -> Self {
debug_assert!(!handle.is_null());
Self { handle }
}