diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2022-03-16 00:33:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-16 00:33:46 +0100 |
commit | bd481bf095f920a419ea55543f911e087f98f36f (patch) | |
tree | b4f97aabfd3734770c5367b1253511a02d86af87 /ext/ffi/lib.rs | |
parent | 672f66dde1f7ec87282d37e10cac2cdd36e5f181 (diff) |
feat(ops): optional OpState (#13954)
Diffstat (limited to 'ext/ffi/lib.rs')
-rw-r--r-- | ext/ffi/lib.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ext/ffi/lib.rs b/ext/ffi/lib.rs index 07297071a..6ddeee51c 100644 --- a/ext/ffi/lib.rs +++ b/ext/ffi/lib.rs @@ -648,17 +648,13 @@ fn ffi_call(args: FfiCallArgs, symbol: &Symbol) -> Result<Value, AnyError> { } #[op] -fn op_ffi_call_ptr( - _state: &mut deno_core::OpState, - args: FfiCallPtrArgs, -) -> Result<Value, AnyError> { +fn op_ffi_call_ptr(args: FfiCallPtrArgs) -> Result<Value, AnyError> { let symbol = args.get_symbol(); ffi_call(args.into(), &symbol) } #[op] async fn op_ffi_call_ptr_nonblocking( - _state: Rc<RefCell<deno_core::OpState>>, args: FfiCallPtrArgs, ) -> Result<Value, AnyError> { let symbol = args.get_symbol(); |