summaryrefslogtreecommitdiff
path: root/ops/op2/test_cases/sync/generics.out
diff options
context:
space:
mode:
Diffstat (limited to 'ops/op2/test_cases/sync/generics.out')
-rw-r--r--ops/op2/test_cases/sync/generics.out59
1 files changed, 0 insertions, 59 deletions
diff --git a/ops/op2/test_cases/sync/generics.out b/ops/op2/test_cases/sync/generics.out
deleted file mode 100644
index 26e3af9b7..000000000
--- a/ops/op2/test_cases/sync/generics.out
+++ /dev/null
@@ -1,59 +0,0 @@
-#[allow(non_camel_case_types)]
-pub struct op_generics<T> {
- _unconstructable: ::std::marker::PhantomData<(T)>,
-}
-impl<T: Trait> deno_core::_ops::Op for op_generics<T> {
- const NAME: &'static str = stringify!(op_generics);
- const DECL: deno_core::_ops::OpDecl = deno_core::_ops::OpDecl {
- name: stringify!(op_generics),
- v8_fn_ptr: Self::v8_fn_ptr as _,
- enabled: true,
- fast_fn: Some({
- use deno_core::v8::fast_api::Type;
- use deno_core::v8::fast_api::CType;
- deno_core::v8::fast_api::FastFunction::new(
- &[Type::V8Value],
- CType::Void,
- Self::v8_fn_ptr_fast as *const ::std::ffi::c_void,
- )
- }),
- is_async: false,
- is_unstable: false,
- is_v8: false,
- arg_count: 0usize as u8,
- };
-}
-impl<T: Trait> op_generics<T> {
- pub const fn name() -> &'static str {
- stringify!(op_generics)
- }
- pub const fn decl() -> deno_core::_ops::OpDecl {
- deno_core::_ops::OpDecl {
- name: stringify!(op_generics),
- v8_fn_ptr: Self::v8_fn_ptr as _,
- enabled: true,
- fast_fn: Some({
- use deno_core::v8::fast_api::Type;
- use deno_core::v8::fast_api::CType;
- deno_core::v8::fast_api::FastFunction::new(
- &[Type::V8Value],
- CType::Void,
- Self::v8_fn_ptr_fast as *const ::std::ffi::c_void,
- )
- }),
- is_async: false,
- is_unstable: false,
- is_v8: false,
- arg_count: 0usize as u8,
- }
- }
- fn v8_fn_ptr_fast(_: deno_core::v8::Local<deno_core::v8::Object>) -> () {
- let result = Self::call();
- result
- }
- extern "C" fn v8_fn_ptr(info: *const deno_core::v8::FunctionCallbackInfo) {
- let result = Self::call();
- }
- #[inline(always)]
- pub fn call() {}
-}