diff options
| author | Mason Reed <mason@vector35.com> | 2024-07-29 16:54:03 -0400 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2024-07-29 16:55:29 -0400 |
| commit | db360a0b48619bf780d752c88477da6c745dda3d (patch) | |
| tree | 5a3639645c23a78f0b410d6ccbe321af578b3c0d /rust/src | |
| parent | 51239253095ef558d2c06cda506fd3a4b13df760 (diff) | |
Revert temporary fix for enterprise crashing on rust project API
Solution was added in the core
Diffstat (limited to 'rust/src')
| -rw-r--r-- | rust/src/project.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/rust/src/project.rs b/rust/src/project.rs index 536b601e..a94b42e1 100644 --- a/rust/src/project.rs +++ b/rust/src/project.rs @@ -40,7 +40,6 @@ impl Project { /// * `path` - Path to the project directory (.bnpr) /// * `name` - Name of the new project pub fn create<P: BnStrCompatible, S: BnStrCompatible>(path: P, name: S) -> Self { - unsafe { BNInitPlugins(true) }; let path_raw = path.into_bytes_with_nul(); let name_raw = name.into_bytes_with_nul(); let handle = unsafe { @@ -56,7 +55,6 @@ impl Project { /// /// * `path` - Path to the project directory (.bnpr) or project metadata file (.bnpm) pub fn open_project<P: BnStrCompatible>(path: P) -> Self { - unsafe { BNInitPlugins(true) }; let path_raw = path.into_bytes_with_nul(); let handle = unsafe { BNOpenProject(path_raw.as_ref().as_ptr() as *const ffi::c_char) }; unsafe { Self::from_raw(NonNull::new(handle).unwrap()) } |
