From bd481bf095f920a419ea55543f911e087f98f36f Mon Sep 17 00:00:00 2001 From: Aaron O'Mullan Date: Wed, 16 Mar 2022 00:33:46 +0100 Subject: feat(ops): optional OpState (#13954) --- ext/ffi/lib.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'ext/ffi/lib.rs') 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 { } #[op] -fn op_ffi_call_ptr( - _state: &mut deno_core::OpState, - args: FfiCallPtrArgs, -) -> Result { +fn op_ffi_call_ptr(args: FfiCallPtrArgs) -> Result { let symbol = args.get_symbol(); ffi_call(args.into(), &symbol) } #[op] async fn op_ffi_call_ptr_nonblocking( - _state: Rc>, args: FfiCallPtrArgs, ) -> Result { let symbol = args.get_symbol(); -- cgit v1.2.3