Skip to content

Commit 420d622

Browse files
committed
Make Project::{from_raw,ref_from_raw} pub
1 parent 796932b commit 420d622

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rust/src/project.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ pub struct Project {
2121
}
2222

2323
impl Project {
24-
pub(crate) unsafe fn from_raw(handle: NonNull<BNProject>) -> Self {
24+
pub unsafe fn from_raw(handle: NonNull<BNProject>) -> Self {
2525
Project { handle }
2626
}
2727

28-
pub(crate) unsafe fn ref_from_raw(handle: NonNull<BNProject>) -> Ref<Self> {
28+
pub unsafe fn ref_from_raw(handle: NonNull<BNProject>) -> Ref<Self> {
2929
Ref::new(Self { handle })
3030
}
3131

0 commit comments

Comments
 (0)