Skip to content

Commit 5429e57

Browse files
vidydarkskygit
vidy
authored andcommitted
Add the missing new method to Workspace ffi
1 parent 276e0e9 commit 5429e57

File tree

1 file changed

+3
-0
lines changed
  • libs/jwst-binding/jwst-swift/src

1 file changed

+3
-0
lines changed

libs/jwst-binding/jwst-swift/src/lib.rs

+3
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ mod ffi {
9292
extern "Rust" {
9393
type Workspace;
9494

95+
#[swift_bridge(init)]
96+
fn new(id: String) -> Workspace;
97+
9598
fn id(self: &Workspace) -> String;
9699

97100
fn client_id(self: &Workspace) -> u64;

0 commit comments

Comments
 (0)