summaryrefslogtreecommitdiff
path: root/tests/lean/External/Opaque.lean
blob: d0297523b53c60c5f3787d4ba0017634348033fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
-- THIS FILE WAS AUTOMATICALLY GENERATED BY AENEAS
-- [external]: opaque function definitions
import Base
import External.Types
open Primitives

namespace external

structure OpaqueDefs where
  
  /- [core::mem::swap] -/
  core.mem.swap_fwd (T : Type) : T  T  State  Result (State × Unit)
  
  /- [core::mem::swap] -/
  core.mem.swap_back0
    (T : Type) : T  T  State  State  Result (State × T)
  
  /- [core::mem::swap] -/
  core.mem.swap_back1
    (T : Type) : T  T  State  State  Result (State × T)
  
  /- [core::num::nonzero::NonZeroU32::{14}::new] -/
  core.num.nonzero.NonZeroU32.new_fwd
    :
    U32  State  Result (State × (Option
      core_num_nonzero_non_zero_u32_t))
  
  /- [core::option::Option::{0}::unwrap] -/
  core.option.Option.unwrap_fwd
    (T : Type) : Option T  State  Result (State × T)
  
end external