From b223fc42350f03d0b82812d9a2e64e29a527ba02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Andr=C3=A9=20Vadla=20Ravn=C3=A5s?= Date: Sun, 20 Oct 2024 16:42:12 +0200 Subject: [PATCH] darwin: Update to the new RpcClient.call() API --- src/darwin/darwin-host-session.vala | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/darwin/darwin-host-session.vala b/src/darwin/darwin-host-session.vala index ab9b29002..c4eaff3d6 100644 --- a/src/darwin/darwin-host-session.vala +++ b/src/darwin/darwin-host-session.vala @@ -933,27 +933,28 @@ namespace Frida { } public async void prepare_for_launch (string identifier, Cancellable? cancellable) throws Error, IOError { - yield call ("prepareForLaunch", new Json.Node[] { new Json.Node.alloc ().init_string (identifier) }, cancellable); + yield call ("prepareForLaunch", new Json.Node[] { new Json.Node.alloc ().init_string (identifier) }, null, + cancellable); } public async void cancel_launch (string identifier, Cancellable? cancellable) throws Error, IOError { - yield call ("cancelLaunch", new Json.Node[] { new Json.Node.alloc ().init_string (identifier) }, cancellable); + yield call ("cancelLaunch", new Json.Node[] { new Json.Node.alloc ().init_string (identifier) }, null, cancellable); } public async void enable_spawn_gating (Cancellable? cancellable) throws Error, IOError { - yield call ("enableSpawnGating", new Json.Node[] {}, cancellable); + yield call ("enableSpawnGating", new Json.Node[] {}, null, cancellable); } public async void disable_spawn_gating (Cancellable? cancellable) throws Error, IOError { - yield call ("disableSpawnGating", new Json.Node[] {}, cancellable); + yield call ("disableSpawnGating", new Json.Node[] {}, null, cancellable); } public async void claim_process (uint pid, Cancellable? cancellable) throws Error, IOError { - yield call ("claimProcess", new Json.Node[] { new Json.Node.alloc ().init_int (pid) }, cancellable); + yield call ("claimProcess", new Json.Node[] { new Json.Node.alloc ().init_int (pid) }, null, cancellable); } public async void unclaim_process (uint pid, Cancellable? cancellable) throws Error, IOError { - yield call ("unclaimProcess", new Json.Node[] { new Json.Node.alloc ().init_int (pid) }, cancellable); + yield call ("unclaimProcess", new Json.Node[] { new Json.Node.alloc ().init_int (pid) }, null, cancellable); } protected override void on_event (string type, Json.Array event) {