File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ impl Project {
4040 /// * `path` - Path to the project directory (.bnpr)
4141 /// * `name` - Name of the new project
4242 pub fn create < P : BnStrCompatible , S : BnStrCompatible > ( path : P , name : S ) -> Self {
43- unsafe { BNInitPlugins ( true ) } ;
4443 let path_raw = path. into_bytes_with_nul ( ) ;
4544 let name_raw = name. into_bytes_with_nul ( ) ;
4645 let handle = unsafe {
@@ -56,7 +55,6 @@ impl Project {
5655 ///
5756 /// * `path` - Path to the project directory (.bnpr) or project metadata file (.bnpm)
5857 pub fn open_project < P : BnStrCompatible > ( path : P ) -> Self {
59- unsafe { BNInitPlugins ( true ) } ;
6058 let path_raw = path. into_bytes_with_nul ( ) ;
6159 let handle = unsafe { BNOpenProject ( path_raw. as_ref ( ) . as_ptr ( ) as * const ffi:: c_char ) } ;
6260 unsafe { Self :: from_raw ( NonNull :: new ( handle) . unwrap ( ) ) }
You can’t perform that action at this time.
0 commit comments