summaryrefslogtreecommitdiff
path: root/rust/src
diff options
context:
space:
mode:
authorJosh Ferrell <josh@vector35.com>2025-09-30 15:11:49 -0400
committerJosh Ferrell <josh@vector35.com>2025-09-30 15:11:55 -0400
commit420d622f83ad687d5848211f52e2e21693a44a13 (patch)
treeb45dc338642f01023aba5b4e171975d91c5ad7bf /rust/src
parent796932b62e7d007a46d8ad31cdb618e8125073ab (diff)
Make Project::{from_raw,ref_from_raw} pub
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/project.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/src/project.rs b/rust/src/project.rs
index 4f91010d..f47c472a 100644
--- a/rust/src/project.rs
+++ b/rust/src/project.rs
@@ -21,11 +21,11 @@ pub struct Project {
}
impl Project {
- pub(crate) unsafe fn from_raw(handle: NonNull<BNProject>) -> Self {
+ pub unsafe fn from_raw(handle: NonNull<BNProject>) -> Self {
Project { handle }
}
- pub(crate) unsafe fn ref_from_raw(handle: NonNull<BNProject>) -> Ref<Self> {
+ pub unsafe fn ref_from_raw(handle: NonNull<BNProject>) -> Ref<Self> {
Ref::new(Self { handle })
}