From 058579da562989ed15c86598053644bbc86c6747 Mon Sep 17 00:00:00 2001 From: Aaron O'Mullan Date: Fri, 2 Apr 2021 15:47:57 +0200 Subject: refactor(ops): remove variadic buffers (#9944) --- core/plugin_api.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/plugin_api.rs') diff --git a/core/plugin_api.rs b/core/plugin_api.rs index f91b28403..d1dda160f 100644 --- a/core/plugin_api.rs +++ b/core/plugin_api.rs @@ -15,7 +15,7 @@ pub use crate::ZeroCopyBuf; pub type InitFn = fn(&mut dyn Interface); -pub type DispatchOpFn = fn(&mut dyn Interface, &mut [ZeroCopyBuf]) -> Op; +pub type DispatchOpFn = fn(&mut dyn Interface, Option) -> Op; pub trait Interface { fn register_op(&mut self, name: &str, dispatcher: DispatchOpFn) -> OpId; -- cgit v1.2.3