Skip to content

Commit 0e28c2b

Browse files
author
vidy
committed
Add the missing new method to Workspace ffi
1 parent e821e37 commit 0e28c2b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/CLA.md

+1
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,4 @@ Example:
5757
- Metal A-wing, @a-wing, 2023/05/30
5858
- Xuanwo, @Xuanwo, 2023/06/21
5959
- Bryan, @ImSingee, 2023/10/25
60+
- Vidy Videni, @videni, 2025/03/05

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)