summaryrefslogtreecommitdiff
path: root/tests/lean/misc-external/External/Opaque.lean
blob: d3582de35510e5efc4dc68eb3c2beb509c5782fd (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
-- THIS FILE WAS AUTOMATICALLY GENERATED BY AENEAS
-- [external]: opaque function definitions
import Base.Primitives
import External.Types

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_non_zero_u32_new_fwd
    :
    UInt32 -> 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)