feat: Add json rpc c++ bindings

This commit is contained in:
d2weber
2026-05-18 13:00:11 +02:00
parent a95bf77868
commit bcc5d8107d
4 changed files with 11 additions and 7 deletions

1
deltachat-jsonrpc/c/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
generated

View File

@@ -156,7 +156,11 @@ impl CommandApi {
}
}
#[rpc(all_positional, ts_outdir = "typescript/generated")]
#[rpc(
all_positional,
ts_outdir = "typescript/generated",
c_outdir = "c/generated"
)]
impl CommandApi {
/// Test function.
async fn sleep(&self, delay: f64) {