summaryrefslogtreecommitdiff
path: root/core/plugin_api.rs
diff options
context:
space:
mode:
authorValentin Anger <syrupthinker@gryphno.de>2020-07-08 17:23:50 +0200
committerGitHub <noreply@github.com>2020-07-08 11:23:50 -0400
commitbe7e0f2d490ca480aaa154845c4c5c6dccbd7546 (patch)
treeb2a2d284c490a2a1cd8ec3b6175ea5d4077cc65e /core/plugin_api.rs
parentcbbd9443592f79f6abf9e5019840de4e01ff8580 (diff)
BREAKING(core): Remove control slice from ops (#6048)
Diffstat (limited to 'core/plugin_api.rs')
-rw-r--r--core/plugin_api.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/plugin_api.rs b/core/plugin_api.rs
index 16f5d4a36..0cb9acaeb 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, &[u8], &mut [ZeroCopyBuf]) -> Op;
+pub type DispatchOpFn = fn(&mut dyn Interface, &mut [ZeroCopyBuf]) -> Op;
pub trait Interface {
fn register_op(&mut self, name: &str, dispatcher: DispatchOpFn) -> OpId;