diff options
author | Andy Finch <andyfinch7@gmail.com> | 2019-12-05 15:30:20 -0500 |
---|---|---|
committer | Ry Dahl <ry@tinyclouds.org> | 2019-12-05 15:30:20 -0500 |
commit | 7c3b9b4f4f2f4ec8fdeb0e77bb853fd22ffaa476 (patch) | |
tree | aeafe5cc2560c5366704d7a580a5b0e0dced504d /core/ops.rs | |
parent | 214b3eb29aa9cce8a55a247b4bd816cbd19bfe6b (diff) |
feat: first pass at native plugins (#3372)
Diffstat (limited to 'core/ops.rs')
-rw-r--r-- | core/ops.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ops.rs b/core/ops.rs index 6dc0a7323..c840ed979 100644 --- a/core/ops.rs +++ b/core/ops.rs @@ -27,7 +27,7 @@ pub type CoreError = (); pub type CoreOp = Op<CoreError>; /// Main type describing op -type OpDispatcher = +pub type OpDispatcher = dyn Fn(&[u8], Option<PinnedBuf>) -> CoreOp + Send + Sync + 'static; #[derive(Default)] |