From becbb56b19e96e4dd72b861217a855fba953d290 Mon Sep 17 00:00:00 2001 From: Valentin Anger Date: Mon, 1 Jun 2020 20:20:47 +0200 Subject: feat(core): Ops can take several zero copy buffers (#4788) --- cli/ops/runtime.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/ops/runtime.rs') diff --git a/cli/ops/runtime.rs b/cli/ops/runtime.rs index e96a669d0..a85ce4011 100644 --- a/cli/ops/runtime.rs +++ b/cli/ops/runtime.rs @@ -17,7 +17,7 @@ pub fn init(i: &mut CoreIsolate, s: &State) { fn op_start( state: &State, _args: Value, - _zero_copy: Option, + _zero_copy: &mut [ZeroCopyBuf], ) -> Result { let state = state.borrow(); let gs = &state.global_state; @@ -42,7 +42,7 @@ fn op_start( fn op_metrics( state: &State, _args: Value, - _zero_copy: Option, + _zero_copy: &mut [ZeroCopyBuf], ) -> Result { let state = state.borrow(); let m = &state.metrics; -- cgit v1.2.3