File tree Expand file tree Collapse file tree 7 files changed +9
-9
lines changed Expand file tree Collapse file tree 7 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ pub struct BasicBlock<C: BlockContext> {
112112}
113113
114114impl < C : BlockContext > BasicBlock < C > {
115- pub ( crate ) unsafe fn from_raw ( handle : * mut BNBasicBlock , context : C ) -> Self {
115+ pub unsafe fn from_raw ( handle : * mut BNBasicBlock , context : C ) -> Self {
116116 Self { handle, context }
117117 }
118118
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ pub struct NativeBlock {
134134}
135135
136136impl NativeBlock {
137- pub ( crate ) fn new ( ) -> Self {
137+ pub fn new ( ) -> Self {
138138 NativeBlock { _priv : ( ) }
139139 }
140140}
@@ -302,12 +302,12 @@ pub struct Function {
302302}
303303
304304impl Function {
305- pub ( crate ) unsafe fn from_raw ( handle : * mut BNFunction ) -> Self {
305+ pub unsafe fn from_raw ( handle : * mut BNFunction ) -> Self {
306306 debug_assert ! ( !handle. is_null( ) ) ;
307307 Self { handle }
308308 }
309309
310- pub ( crate ) unsafe fn ref_from_raw ( handle : * mut BNFunction ) -> Ref < Self > {
310+ pub unsafe fn ref_from_raw ( handle : * mut BNFunction ) -> Ref < Self > {
311311 debug_assert ! ( !handle. is_null( ) ) ;
312312 Ref :: new ( Self { handle } )
313313 }
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ macro_rules! cc_func {
7272}
7373
7474impl Platform {
75- pub ( crate ) unsafe fn from_raw ( handle : * mut BNPlatform ) -> Self {
75+ pub unsafe fn from_raw ( handle : * mut BNPlatform ) -> Self {
7676 debug_assert ! ( !handle. is_null( ) ) ;
7777 Self { handle }
7878 }
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ impl<T: RefCountable> Ref<T> {
5555 Self { contents }
5656 }
5757
58- pub ( crate ) unsafe fn into_raw ( obj : Self ) -> T {
58+ pub unsafe fn into_raw ( obj : Self ) -> T {
5959 let res = ptr:: read ( & obj. contents ) ;
6060 mem:: forget ( obj) ;
6161 res
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ impl BnString {
7070 }
7171
7272 /// Construct a BnString from an owned const char* allocated by BNAllocString
73- pub ( crate ) unsafe fn from_raw ( raw : * mut c_char ) -> Self {
73+ pub unsafe fn from_raw ( raw : * mut c_char ) -> Self {
7474 Self { raw }
7575 }
7676
Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ impl SymbolBuilder {
217217
218218#[ derive( Eq ) ]
219219pub struct Symbol {
220- pub ( crate ) handle : * mut BNSymbol ,
220+ pub handle : * mut BNSymbol ,
221221}
222222
223223impl Symbol {
Original file line number Diff line number Diff line change @@ -443,7 +443,7 @@ impl Drop for TypeBuilder {
443443
444444#[ repr( transparent) ]
445445pub struct Type {
446- pub ( crate ) handle : * mut BNType ,
446+ pub handle : * mut BNType ,
447447}
448448
449449/// ```no_run
You can’t perform that action at this time.
0 commit comments