mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
Clean up how we use opIds (#4118)
This commit is contained in:
parent
805992b14a
commit
91b606aaae
74 changed files with 367 additions and 589 deletions
|
@ -13,7 +13,7 @@ use std::rc::Rc;
|
|||
pub fn init(i: &mut Isolate, s: &State, r: Rc<deno_core::OpRegistry>) {
|
||||
let r_ = r;
|
||||
i.register_op(
|
||||
"open_plugin",
|
||||
"op_open_plugin",
|
||||
s.core_op(json_op(s.stateful_op(move |state, args, zero_copy| {
|
||||
op_open_plugin(&r_, state, args, zero_copy)
|
||||
}))),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue